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).
This commit is contained in:
parent
a8a3608c07
commit
b28b2cefae
1 changed files with 1 additions and 0 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue