bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

great local variables examples


From: Dan Jacobson
Subject: great local variables examples
Date: Sun, 29 Aug 2004 08:17:52 +0800

Continuing "great examples of the use of local variables, in particular
regarding the compile command" for addition to the documentation, here is

! Local Variables:
! compile-command: "xrdb .Xresources"
! End:

However having to hardwire the filename into the file is dumb.
One would want to use something like

! compile-command: (concat "xrdb " buffer-file-name)

But 1. the user is then asked a question upon find-file, and
2. Wrong type argument: stringp, concat.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]