]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Compilation warning fix for byte-run.el"
authorGlenn Morris <rgm@gnu.org>
Thu, 13 Jun 2019 00:20:50 +0000 (17:20 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 13 Jun 2019 00:20:50 +0000 (17:20 -0700)
* lisp/emacs-lisp/byte-run.el (macro-declaration-function):
Revert change that causes a bootstrap failure.

; Ref eg https://hydra.nixos.org/build/94678649

lisp/emacs-lisp/byte-run.el

index 81f8f11044e0d02a130de1f1cbfd3b8c08ed697a..6a21a0c909d63b180a92b7cf29656d5c921e6cf9 100644 (file)
@@ -45,13 +45,12 @@ So far, FUNCTION can only be a symbol, not a lambda expression."
 ;; `macro-declaration-function' are both obsolete (as marked at the end of this
 ;; file) but used in many .elc files.
 
-(with-suppressed-warnings ((obsolete macro-declaration-function))
-  (defvar macro-declaration-function #'macro-declaration-function
-    "Function to process declarations in a macro definition.
+(defvar macro-declaration-function #'macro-declaration-function
+  "Function to process declarations in a macro definition.
 The function will be called with two args MACRO and DECL.
 MACRO is the name of the macro being defined.
 DECL is a list `(declare ...)' containing the declarations.
-The value the function returns is not used."))
+The value the function returns is not used.")
 
 (defalias 'macro-declaration-function
   #'(lambda (macro decl)