[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el,v |
Date: |
Sun, 25 Mar 2007 17:52:32 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 07/03/25 17:52:31
Index: compile.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/compile.el,v
retrieving revision 1.418
retrieving revision 1.419
diff -u -b -r1.418 -r1.419
--- compile.el 18 Mar 2007 02:49:54 -0000 1.418
+++ compile.el 25 Mar 2007 17:52:31 -0000 1.419
@@ -391,6 +391,7 @@
,(expand-file-name "compilation.txt" data-directory))
:group 'compilation)
+;;;###autoload(put 'compilation-directory 'safe-local-variable 'stringp)
(defvar compilation-directory nil
"Directory to restore to when doing `recompile'.")
@@ -1041,7 +1042,7 @@
highlight-regexp))
;; Output a mode setter, for saving and later reloading this buffer.
(insert "-*- mode: " name-of-mode
- "; default-directory: " (prin1-to-string default-directory)
+ "; compilation-directory: " (prin1-to-string
compilation-directory)
" -*-\n"
(format "%s started at %s\n\n"
mode-name