Commit 58c4682f authored by Glenn Morris's avatar Glenn Morris
Browse files

* bytecomp.el (byte-compile-make-variable-buffer-local): Tweak warning.

Fixes: debbugs:14926
parent 57953f49
2013-08-16 Glenn Morris <rgm@gnu.org> 2013-08-16 Glenn Morris <rgm@gnu.org>
* emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
Tweak warning. (Bug#14926)
* menu-bar.el (send-mail-item-name, read-mail-item-name): Remove. * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
(menu-bar-tools-menu): Simplify news and mail items. (Bug#15095) (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
......
...@@ -4274,7 +4274,7 @@ binding slots have been popped." ...@@ -4274,7 +4274,7 @@ binding slots have been popped."
(if (and (eq (car-safe (car-safe (cdr-safe form))) 'quote) (if (and (eq (car-safe (car-safe (cdr-safe form))) 'quote)
(byte-compile-warning-enabled-p 'make-local)) (byte-compile-warning-enabled-p 'make-local))
(byte-compile-warn (byte-compile-warn
"`make-variable-buffer-local' should be called at toplevel")) "`make-variable-buffer-local' not called at toplevel"))
(byte-compile-normal-call form)) (byte-compile-normal-call form))
(put 'make-variable-buffer-local (put 'make-variable-buffer-local
'byte-hunk-handler 'byte-compile-form-make-variable-buffer-local) 'byte-hunk-handler 'byte-compile-form-make-variable-buffer-local)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment