summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2009-11-12 06:48:03 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2009-11-12 06:48:03 +0000
commit76410c3e214db0d579f299af4916276900550f73 (patch)
treed20ac3edbae19d25a727bd0e10e96a354c28346a /lisp
parent5d58e44c278cebdfa8f2c90fa92845b4cac5711b (diff)
downloademacs-76410c3e214db0d579f299af4916276900550f73.tar.gz
(define-compiler-macro): Purecopy the file name.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/cl-macs.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 850bac71b06..80d816cc517 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
+
2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
* widget.el (define-widget): Purecopy the docstring.
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index a0b0d2e092b..82d7843cd3a 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2565,7 +2565,7 @@ and then returning foo."
(list 'if 'file
(list 'put (list 'quote func)
'(quote compiler-macro-file)
- '(file-name-nondirectory file))))))))
+ '(purecopy (file-name-nondirectory file)))))))))
;;;###autoload
(defun compiler-macroexpand (form)