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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user