Revert "Make the generalized buffer-local-variable obsolete"

This reverts commit bfe222288e.

This led to the local modes not working.
This commit is contained in:
Lars Ingebrigtsen 2022-08-22 00:14:07 +02:00
parent 29a989c020
commit ae5fe348fb
5 changed files with 17 additions and 24 deletions

View file

@ -1355,7 +1355,6 @@ 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."