unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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
[parent not found: <mailman.4.1296386344.21090.help-gnu-emacs@gnu.org>]

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 --
2011-01-30 11:17 Eval elisp file automatically Andrea Crotti
     [not found] <mailman.4.1296386344.21090.help-gnu-emacs@gnu.org>
2011-01-30 11:42 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).