all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Eval elisp file automatically
@ 2011-01-30 11:17 Andrea Crotti
  0 siblings, 0 replies; 7+ messages in thread
From: Andrea Crotti @ 2011-01-30 11:17 UTC (permalink / raw)
  To: help-gnu-emacs

I have some functions and variables which I only need in one particular
directory.

Now it would be nice that the first time that I visit a file in that
subdirectory the file "elisp.el" gets evaluated.

Using find-file-hook might be easy, but How can I make it evaluate only
once?

Another cool thing would be to reset to the defaut value the variables
when I'm not, but it's not really necessary...




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-08 17:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4.1296386344.21090.help-gnu-emacs@gnu.org>
2011-01-30 11:42 ` Eval elisp file automatically Tim X
2011-02-08 14:54   ` Andrea Crotti
2011-02-08 15:38     ` Andrea Crotti
2011-02-08 17:54       ` Kevin Rodgers
2011-01-31  9:35 ` José A. Romero L.
2011-01-31 16:20 ` Stefan Monnier
2011-01-30 11:17 Andrea Crotti

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.