emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a8c0675 4/5: Autoload byte-compile-warning-enabled-p


From: Lars Ingebrigtsen
Subject: master a8c0675 4/5: Autoload byte-compile-warning-enabled-p
Date: Tue, 30 Nov 2021 22:55:26 -0500 (EST)

branch: master
commit a8c067591e4671eba0a779586590b7e5e75720b8
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Autoload byte-compile-warning-enabled-p
    
    * lisp/emacs-lisp/bytecomp.el (byte-compile-warning-enabled-p):
    Autoloads (for easier use in macroexp etc).
---
 lisp/emacs-lisp/bytecomp.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 5ce5b29..d6b25e0 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]