el/dot-emacs.el: Fix C comment indentation.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 18 Jun 2024 13:16:27 +0000 (14:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 18 Jun 2024 13:17:50 +0000 (14:17 +0100)
el/dot-emacs.el

index 72dde3c..f0d41c3 100644 (file)
@@ -2524,6 +2524,10 @@ set."
   (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)