* lisp/progmodes/cc-langs.el (c-make-no-parens-syntax-table): Fix bug#57065
(c-lang-const c-make-mode-syntax-table) already returns a function, so quote it to avoid double evaluation since it could fail if the function is not self-evaluating, such as when it's a symbol or a value of the form (closure ...).
This commit is contained in:
parent
9ba6a7c508
commit
5b5896132f
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ The syntax tables aren't stored directly since they're quite large."
|
|||
t (if (c-lang-const c-recognize-<>-arglists)
|
||||
`(lambda ()
|
||||
;(if (c-lang-const c-recognize-<>-arglists)
|
||||
(let ((table (funcall ,(c-lang-const c-make-mode-syntax-table))))
|
||||
(let ((table (funcall ',(c-lang-const c-make-mode-syntax-table))))
|
||||
(modify-syntax-entry ?\( "." table)
|
||||
(modify-syntax-entry ?\) "." table)
|
||||
(modify-syntax-entry ?\[ "." table)
|
||||
|
|
Loading…
Add table
Reference in a new issue