projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d976d6
)
Add inline to c-ts-mode--keywords
author
Daniel Martín
<mardani29@yahoo.es>
Wed, 30 Nov 2022 18:58:42 +0000
(19:58 +0100)
committer
Yuan Fu
<casouri@gmail.com>
Thu, 1 Dec 2022 01:37:05 +0000
(17:37 -0800)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--keywords): Add "inline", a
keyword available since C99 to define inline functions in C.
lisp/progmodes/c-ts-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index 696e14f4d6e8d31775315e5113be77a52cd549e3..f802a6ddb2da12264b413484bafa1ccf06d73b7a 100644
(file)
--- a/
lisp/progmodes/c-ts-mode.el
+++ b/
lisp/progmodes/c-ts-mode.el
@@
-168,7
+168,7
@@
MODE is either `c' or `cpp'."
(let ((c-keywords
'("break" "case" "const" "continue"
"default" "do" "else" "enum"
- "extern" "for" "goto" "if"
+ "extern" "for" "goto" "if"
"inline"
"long" "register" "return" "short"
"signed" "sizeof" "static" "struct"
"switch" "typedef" "union" "unsigned"