From: Mark Wooding Date: Tue, 18 Jun 2024 13:16:27 +0000 (+0100) Subject: el/dot-emacs.el: Fix C comment indentation. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/5223adaa187d2231f03f59a44473b93192bc6968?ds=sidebyside el/dot-emacs.el: Fix C comment indentation. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 72dde3c..f0d41c3 100644 --- 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)