diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-01 04:54:59 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-01 04:55:18 +0100 |
commit | a8c067591e4671eba0a779586590b7e5e75720b8 (patch) | |
tree | b11fadf2d491331b67b40cd1c43abb8feb05bf5e /lisp/emacs-lisp | |
parent | a4cf68af2b88396713a951c5e2597aed08b08477 (diff) | |
download | emacs-a8c067591e4671eba0a779586590b7e5e75720b8.tar.gz emacs-a8c067591e4671eba0a779586590b7e5e75720b8.tar.bz2 emacs-a8c067591e4671eba0a779586590b7e5e75720b8.zip |
Autoload byte-compile-warning-enabled-p
* lisp/emacs-lisp/bytecomp.el (byte-compile-warning-enabled-p):
Autoloads (for easier use in macroexp etc).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 5ce5b2952b8..d6b25e02795 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -344,6 +344,7 @@ suppress. For example, (not mapcar) will suppress warnings about mapcar." (or (symbolp v) (null (delq nil (mapcar (lambda (x) (not (symbolp x))) v)))))) +;;;###autoload (defun byte-compile-warning-enabled-p (warning &optional symbol) "Return non-nil if WARNING is enabled, according to `byte-compile-warnings'." (let ((suppress nil)) |