From: Dan Nicolaescu Date: Thu, 12 Nov 2009 06:48:03 +0000 (+0000) Subject: (define-compiler-macro): Purecopy the file name. X-Git-Tag: emacs-pretest-23.1.90~473 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76410c3e214db0d579f299af4916276900550f73;p=emacs.git (define-compiler-macro): Purecopy the file name. --- 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 + + * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name. + 2009-11-11 Dan Nicolaescu * 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)