[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master eeb89a5cb29: Suppress docstring control char warning in macro-gen
From: |
Mattias Engdegård |
Subject: |
master eeb89a5cb29: Suppress docstring control char warning in macro-generated function |
Date: |
Sat, 24 Feb 2024 06:20:43 -0500 (EST) |
branch: master
commit eeb89a5cb292bffe40ba7d0b0cf81f82f8452bf8
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Suppress docstring control char warning in macro-generated function
* lisp/progmodes/cc-defs.el (c-lang-defconst):
Make sure that `val` won't be treated as a docstring.
---
lisp/progmodes/cc-defs.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index e45ab76ec07..2c793c8a99d 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -2579,7 +2579,8 @@ 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 () ,val)) ,bindings)
+ (setq bindings `(cons (cons ',assigned-mode (lambda () nil ,val))
+ ,bindings)
args (cdr args))))
;; Compile in the other files that have provided source
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master eeb89a5cb29: Suppress docstring control char warning in macro-generated function,
Mattias Engdegård <=