mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Autoload byte-compile-warning-enabled-p
* lisp/emacs-lisp/bytecomp.el (byte-compile-warning-enabled-p): Autoloads (for easier use in macroexp etc).
This commit is contained in:
parent
a4cf68af2b
commit
a8c067591e
1 changed files with 1 additions and 0 deletions
|
|
@ -344,6 +344,7 @@ suppress. For example, (not mapcar) will suppress warnings about mapcar."
|
||||||
(or (symbolp v)
|
(or (symbolp v)
|
||||||
(null (delq nil (mapcar (lambda (x) (not (symbolp x))) v))))))
|
(null (delq nil (mapcar (lambda (x) (not (symbolp x))) v))))))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun byte-compile-warning-enabled-p (warning &optional symbol)
|
(defun byte-compile-warning-enabled-p (warning &optional symbol)
|
||||||
"Return non-nil if WARNING is enabled, according to `byte-compile-warnings'."
|
"Return non-nil if WARNING is enabled, according to `byte-compile-warnings'."
|
||||||
(let ((suppress nil))
|
(let ((suppress nil))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue