emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 90c2e287b76 2/2: Revert "Suppress docstring control char warning


From: Mattias Engdegård
Subject: master 90c2e287b76 2/2: Revert "Suppress docstring control char warning in macro-generated function"
Date: Thu, 7 Mar 2024 09:04:07 -0500 (EST)

branch: master
commit 90c2e287b7654c22b66012059c953c976c1596c1
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Revert "Suppress docstring control char warning in macro-generated function"
    
    This reverts commit eeb89a5cb292bffe40ba7d0b0cf81f82f8452bf8.
    It is no longer needed now that (lambda (...) "string") does not
    have a doc string (bug#69387).
---
 lisp/progmodes/cc-defs.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index 2c793c8a99d..e45ab76ec07 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -2579,8 +2579,7 @@ constant.  A file is identified by its base name."
        ;; dependencies on the `c-lang-const's in VAL.)
        (setq val (c--macroexpand-all val))
 
-       (setq bindings `(cons (cons ',assigned-mode (lambda () nil ,val))
-                             ,bindings)
+       (setq bindings `(cons (cons ',assigned-mode (lambda () ,val)) ,bindings)
              args (cdr args))))
 
     ;; Compile in the other files that have provided source



reply via email to

[Prev in Thread] Current Thread [Next in Thread]