* 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.
,condition '(fboundp functionp)
byte-compile-unresolved-functions))
(bound-list (byte-compile-find-bound-condition
- ,condition '(boundp default-boundp)))
+ ,condition '(boundp default-boundp local-variable-p)))
;; Maybe add to the bound list.
(byte-compile-bound-variables
(append bound-list byte-compile-bound-variables)))
jka-compr-really-do-compress))
;; This means the buffer holds the
;; decrypted content (bug#21870).
- (not (and (boundp 'epa-file-encrypt-to)
- (local-variable-p
- 'epa-file-encrypt-to))))))
+ (not (local-variable-p
+ 'epa-file-encrypt-to)))))
(file-or-data
(if data-p
(let ((str