diff options
| author | Glenn Morris | 2013-08-15 23:53:41 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-08-15 23:53:41 -0700 |
| commit | 58c4682f76b2417640a6789aaa8ee0ad9ab4bad9 (patch) | |
| tree | 377e40a8b1b99353d94df267a5180363bc1032da | |
| parent | 57953f498ac4bab8badb1986fd333b679c57b71a (diff) | |
| download | emacs-58c4682f76b2417640a6789aaa8ee0ad9ab4bad9.tar.gz emacs-58c4682f76b2417640a6789aaa8ee0ad9ab4bad9.zip | |
* bytecomp.el (byte-compile-make-variable-buffer-local): Tweak warning.
Fixes: debbugs:14926
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bc51679a9ce..c35252b184c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-08-16 Glenn Morris <rgm@gnu.org> | 1 | 2013-08-16 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local): | ||
| 4 | Tweak warning. (Bug#14926) | ||
| 5 | |||
| 3 | * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove. | 6 | * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove. |
| 4 | (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095) | 7 | (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095) |
| 5 | 8 | ||
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 5baef042757..c6612024fa6 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -4274,7 +4274,7 @@ binding slots have been popped." | |||
| 4274 | (if (and (eq (car-safe (car-safe (cdr-safe form))) 'quote) | 4274 | (if (and (eq (car-safe (car-safe (cdr-safe form))) 'quote) |
| 4275 | (byte-compile-warning-enabled-p 'make-local)) | 4275 | (byte-compile-warning-enabled-p 'make-local)) |
| 4276 | (byte-compile-warn | 4276 | (byte-compile-warn |
| 4277 | "`make-variable-buffer-local' should be called at toplevel")) | 4277 | "`make-variable-buffer-local' not called at toplevel")) |
| 4278 | (byte-compile-normal-call form)) | 4278 | (byte-compile-normal-call form)) |
| 4279 | (put 'make-variable-buffer-local | 4279 | (put 'make-variable-buffer-local |
| 4280 | 'byte-hunk-handler 'byte-compile-form-make-variable-buffer-local) | 4280 | 'byte-hunk-handler 'byte-compile-form-make-variable-buffer-local) |