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:
parent
4eed2768b1
commit
eeb89a5cb2
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue