]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Suppress docstring control char warning in macro-generated function"
authorMattias EngdegÄrd <mattiase@acm.org>
Thu, 7 Mar 2024 13:29:36 +0000 (14:29 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 11 Mar 2024 09:14:59 +0000 (10:14 +0100)
This reverts commit eeb89a5cb292bffe40ba7d0b0cf81f82f8452bf8.
It is no longer needed now that (lambda (...) "string") does not
have a doc string (bug#69387).

(cherry picked from commit 90c2e287b7654c22b66012059c953c976c1596c1)

lisp/progmodes/cc-defs.el

index 2c793c8a99d8003c7790d10b6a1ac8397023fcd5..e45ab76ec07ce3ebba6af2a2deaaf1ae4fbac348 100644 (file)
@@ -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