diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-25 14:54:49 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-25 14:54:49 +0200 |
commit | b28b2cefaea0d7846ab9a45dc92f68ad00e92085 (patch) | |
tree | 6f462ba21912ba6f034bf0bf1ca2638e59e481c5 /lisp/emacs-lisp | |
parent | a8a3608c074c00e32a551c6fa27131b0094c8b2c (diff) | |
download | emacs-b28b2cefaea0d7846ab9a45dc92f68ad00e92085.tar.gz emacs-b28b2cefaea0d7846ab9a45dc92f68ad00e92085.tar.bz2 emacs-b28b2cefaea0d7846ab9a45dc92f68ad00e92085.zip |
Fix warning about obsoleted generalized variables
* lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
Autoload so that the call here from gv.el (about obsolete
generalized variables) doesn't bug out (bug#57394).
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 c25250533a4..a16486dc31c 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1356,6 +1356,7 @@ FORMAT and ARGS are as in `byte-compile-warn'." (let ((byte-compile-form-stack (cons arg byte-compile-form-stack))) (apply #'byte-compile-warn format args))) +;;;###autoload (defun byte-compile-warn-obsolete (symbol type) "Warn that SYMBOL (a variable, function or generalized variable) is obsolete. TYPE is a string that say which one of these three types it is." |