* referring to the current file in Local Variables
@ 2009-06-14 0:41 jidanni
0 siblings, 0 replies; only message in thread
From: jidanni @ 2009-06-14 0:41 UTC (permalink / raw)
To: help-gnu-emacs
I suppose why I get risky Local Variables warnings with
# Local Variables:
# compile-command: (concat "php --syntax-check " (buffer-file-name))
# End:
Is someone might just do
# compile-command: (concat "php " (buffer-file-name)) or
# compile-command: (concat "sh " (buffer-file-name))
but couldn't they also do
# compile-command: "sh ThisFile.txt"
Anyway, at least M-x compile will still prompt us.
So how do you recommend I refer to the current file in Local Variables,
without hard wiring it in? Must I whitelist it...?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-14 0:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-14 0:41 referring to the current file in Local Variables jidanni
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.