[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e463629 2/7: Compilation warning fix for byte-run.e
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master e463629 2/7: Compilation warning fix for byte-run.el |
Date: |
Wed, 12 Jun 2019 19:45:09 -0400 (EDT) |
branch: master
commit e4636297c630a81e1e201210b4e6da7e99b823a7
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Compilation warning fix for byte-run.el
* lisp/emacs-lisp/byte-run.el (macro-declaration-function):
Suppress warning about obsolete function used by obsolete variable.
---
lisp/emacs-lisp/byte-run.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 6a21a0c..81f8f11 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -45,12 +45,13 @@ 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.
-(defvar macro-declaration-function #'macro-declaration-function
- "Function to process declarations in a macro definition.
+(with-suppressed-warnings ((obsolete macro-declaration-function))
+ (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)
- [Emacs-diffs] master updated (6d63f68 -> d16b73f), Lars Ingebrigtsen, 2019/06/12
- [Emacs-diffs] master d16b73f 7/7: Fix compilation warning in qp.el, Lars Ingebrigtsen, 2019/06/12
- [Emacs-diffs] master afa47a6 1/7: todo-mode.el compilation warning fix, Lars Ingebrigtsen, 2019/06/12
- [Emacs-diffs] master e463629 2/7: Compilation warning fix for byte-run.el,
Lars Ingebrigtsen <=
- [Emacs-diffs] master 1743da1 4/7: Remove XEmacs compat code from mml.el that gave a compilation warning, Lars Ingebrigtsen, 2019/06/12
- [Emacs-diffs] master 9645b57 5/7: Compilation warning fix in feedmail.el, Lars Ingebrigtsen, 2019/06/12
- [Emacs-diffs] master 982af7f 6/7: Fix warning about obsolete func calling obsolete func in etags.el, Lars Ingebrigtsen, 2019/06/12
- [Emacs-diffs] master 7556772 3/7: message.el byte compilation warning fix, Lars Ingebrigtsen, 2019/06/12