]> git.eshelyaron.com Git - emacs.git/commit
Let byte-compiler recognize that local-variable-p implies boundp
authorNoam Postavsky <npostavs@gmail.com>
Sat, 7 Sep 2019 21:00:39 +0000 (17:00 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 7 Sep 2019 21:00:39 +0000 (17:00 -0400)
commit8c0ae0f93ad28d9ef419ec589170d8a670ec0932
tree53d273a6f558d4e75611b3b56c7d866b99f8de56
parent8d588f09e91e315c715cf824a9819a538a85cd9c
Let byte-compiler recognize that local-variable-p implies boundp

* lisp/emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Add
arguments to local-variable-p to the bound list.
* lisp/image-mode.el (image-toggle-display-image): Remove no longer
needed boundp check.
lisp/emacs-lisp/bytecomp.el
lisp/image-mode.el