[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b28b2cefae: Fix warning about obsoleted generalized variables
From: |
Lars Ingebrigtsen |
Subject: |
master b28b2cefae: Fix warning about obsoleted generalized variables |
Date: |
Thu, 25 Aug 2022 08:58:59 -0400 (EDT) |
branch: master
commit b28b2cefaea0d7846ab9a45dc92f68ad00e92085
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
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 c25250533a..a16486dc31 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."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b28b2cefae: Fix warning about obsoleted generalized variables,
Lars Ingebrigtsen <=