Mercurial > emacs
changeset 105996:5bb289ba7169
* bindings.el (mode-line-buffer-identification): Purecopy only the string.
* international/ccl.el (define-ccl-program): Do not purecopy the
docstring, defconst does it anyway.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 14 Nov 2009 02:01:35 +0000 |
parents | d90116e2656a |
children | a9d283639ece |
files | lisp/ChangeLog lisp/bindings.el lisp/international/ccl.el |
diffstat | 3 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Nov 13 22:54:16 2009 +0000 +++ b/lisp/ChangeLog Sat Nov 14 02:01:35 2009 +0000 @@ -1,3 +1,9 @@ +2009-11-14 Dan Nicolaescu <dann@ics.uci.edu> + + * bindings.el (mode-line-buffer-identification): Purecopy only the string. + * international/ccl.el (define-ccl-program): Do not purecopy the + docstring, defconst does it anyway. + 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca> * add-log.el (add-change-log-entry): Avoid displaying the changelog
--- a/lisp/bindings.el Fri Nov 13 22:54:16 2009 +0000 +++ b/lisp/bindings.el Sat Nov 14 02:01:35 2009 +0000 @@ -459,7 +459,7 @@ 'mouse-face 'mode-line-highlight 'local-map mode-line-buffer-identification-keymap))) -(defvar mode-line-buffer-identification (purecopy (propertized-buffer-identification "%12b")) "\ +(defvar mode-line-buffer-identification (propertized-buffer-identification (purecopy "%12b")) "\ Mode-line control for identifying the buffer being displayed. Its default value is (\"%12b\") with some text properties added. Major modes that edit things other than ordinary files may change this
--- a/lisp/international/ccl.el Fri Nov 13 22:54:16 2009 +0000 +++ b/lisp/international/ccl.el Sat Nov 14 02:01:35 2009 +0000 @@ -1523,7 +1523,7 @@ (fset 'charset-id 'charset-id-internal) (ccl-compile (eval ccl-program))) (fmakunbound 'charset-id)))) - (defconst ,name prog (purecopy ,doc)) + (defconst ,name prog ,doc) (put ',name 'ccl-program-idx (register-ccl-program ',name prog)) nil))