diff options
| author | Dan Nicolaescu | 2009-11-14 02:01:35 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-14 02:01:35 +0000 |
| commit | 2d0659ec81d7340085a2faaa227518745f0678b7 (patch) | |
| tree | 1c9a292d8447dfe7f187532c4e6141391bb03e8c | |
| parent | d499c5b950a2aa8d6af470e672821f927d6e50c5 (diff) | |
| download | emacs-2d0659ec81d7340085a2faaa227518745f0678b7.tar.gz emacs-2d0659ec81d7340085a2faaa227518745f0678b7.zip | |
* 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.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/bindings.el | 2 | ||||
| -rw-r--r-- | lisp/international/ccl.el | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4580dcd49c2..4036291a274 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * bindings.el (mode-line-buffer-identification): Purecopy only the string. | ||
| 4 | * international/ccl.el (define-ccl-program): Do not purecopy the | ||
| 5 | docstring, defconst does it anyway. | ||
| 6 | |||
| 1 | 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * add-log.el (add-change-log-entry): Avoid displaying the changelog | 9 | * add-log.el (add-change-log-entry): Avoid displaying the changelog |
diff --git a/lisp/bindings.el b/lisp/bindings.el index 4fe12846028..fac02a9e899 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -459,7 +459,7 @@ mouse-3: next buffer") | |||
| 459 | 'mouse-face 'mode-line-highlight | 459 | 'mouse-face 'mode-line-highlight |
| 460 | 'local-map mode-line-buffer-identification-keymap))) | 460 | 'local-map mode-line-buffer-identification-keymap))) |
| 461 | 461 | ||
| 462 | (defvar mode-line-buffer-identification (purecopy (propertized-buffer-identification "%12b")) "\ | 462 | (defvar mode-line-buffer-identification (propertized-buffer-identification (purecopy "%12b")) "\ |
| 463 | Mode-line control for identifying the buffer being displayed. | 463 | Mode-line control for identifying the buffer being displayed. |
| 464 | Its default value is (\"%12b\") with some text properties added. | 464 | Its default value is (\"%12b\") with some text properties added. |
| 465 | Major modes that edit things other than ordinary files may change this | 465 | Major modes that edit things other than ordinary files may change this |
diff --git a/lisp/international/ccl.el b/lisp/international/ccl.el index bb67e17d039..c5088c8c9e5 100644 --- a/lisp/international/ccl.el +++ b/lisp/international/ccl.el | |||
| @@ -1523,7 +1523,7 @@ MAP-ID := integer | |||
| 1523 | (fset 'charset-id 'charset-id-internal) | 1523 | (fset 'charset-id 'charset-id-internal) |
| 1524 | (ccl-compile (eval ccl-program))) | 1524 | (ccl-compile (eval ccl-program))) |
| 1525 | (fmakunbound 'charset-id)))) | 1525 | (fmakunbound 'charset-id)))) |
| 1526 | (defconst ,name prog (purecopy ,doc)) | 1526 | (defconst ,name prog ,doc) |
| 1527 | (put ',name 'ccl-program-idx (register-ccl-program ',name prog)) | 1527 | (put ',name 'ccl-program-idx (register-ccl-program ',name prog)) |
| 1528 | nil)) | 1528 | nil)) |
| 1529 | 1529 | ||