]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/bytecomp.el: Warn about unprefixed vars in `boundp`
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Mar 2021 00:00:47 +0000 (19:00 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Mar 2021 00:00:47 +0000 (19:00 -0500)
commit251dea693a4e5d1c33257ab3402734a8067049ec
tree9c46f884ba7407ef178985a7e41cd7756d3b6ddb
parentc63d2ef59c511c1c48c69a202907b7edfcbb19b3
* lisp/emacs-lisp/bytecomp.el: Warn about unprefixed vars in `boundp`

(byte-compile--check-prefixed-var): New fun,
extracted from `byte-compile--declare-var`.
(byte-compile--declare-var): Use it.
(byte-compile-maybe-guarded): Use it as well.
lisp/emacs-lisp/bytecomp.el