[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
referring to the current file in Local Variables
From: |
jidanni |
Subject: |
referring to the current file in Local Variables |
Date: |
Sun, 14 Jun 2009 08:41:35 +0800 |
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...?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- referring to the current file in Local Variables,
jidanni <=