* bindings.el (mode-line-buffer-identification): Purecopy only the string.
authorDan Nicolaescu <dann@ics.uci.edu>
Sat, 14 Nov 2009 02:01:35 +0000 (02:01 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Sat, 14 Nov 2009 02:01:35 +0000 (02:01 +0000)
* international/ccl.el (define-ccl-program): Do not purecopy the
docstring, defconst does it anyway.

lisp/ChangeLog
lisp/bindings.el
lisp/international/ccl.el

index 4580dcd..4036291 100644 (file)
@@ -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
index 4fe1284..fac02a9 100644 (file)
@@ -459,7 +459,7 @@ mouse-3: next buffer")
                    '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
index bb67e17..c5088c8 100644 (file)
@@ -1523,7 +1523,7 @@ MAP-ID := integer
                      (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))