chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dcee65
)
el/dot-emacs.el: Fix C comment indentation.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 18 Jun 2024 13:16:27 +0000
(14:16 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 18 Jun 2024 13:17:50 +0000
(14:17 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 72dde3cc1b2df12e32592c46557ede5693d13f13..f0d41c3daf5a743b130552243a531ff0184af5d7 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2524,6
+2524,10
@@
(mdw-define-c-style mdw-c ()
(c-class-key . "class")
(c-backslash-column . 72)
(c-label-minimum-indentation . 0)
+ (c-indent-comments-syntactically-p t)
+ (c-indent-comment-alist (end-block . (column . nil))
+ (cpp-end-block . (column . nil))
+ (other . (column . nil)))
(c-offsets-alist (substatement-open . (add 0 c-indent-one-line-block))
(defun-open . (add 0 c-indent-one-line-block))
(arglist-cont-nonempty . mdw-c-lineup-arglist)