From 76410c3e214db0d579f299af4916276900550f73 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Thu, 12 Nov 2009 06:48:03 +0000 Subject: [PATCH] (define-compiler-macro): Purecopy the file name. --- lisp/ChangeLog | 4 ++++ lisp/emacs-lisp/cl-macs.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.5