chiark / gitweb /
el/dot-emacs.el: Move the comment indentation weirdness to Alec-emulation.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 3 Oct 2021 13:53:51 +0000 (14:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 3 Oct 2021 14:18:53 +0000 (15:18 +0100)
This isn't a good look.

el/dot-emacs.el

index f164c40097701d0d7dccf5a34b8bbce7b095635d..8a0abb9d8bcf22f26d9467127c9ac466b0b53951 100644 (file)
@@ -2208,14 +2208,14 @@                    (defun-open . (add 0 c-indent-one-line-block))
 
 (mdw-define-c-style mdw-trustonic-c (mdw-c)
   (c-basic-offset . 4)
-  (c-indent-comment-alist (anchored-comment . (column . 0))
-                         (end-block . (space . 1))
-                         (cpp-end-block . (space . 1))
-                         (other . (space . 1)))
   (c-offsets-alist (access-label . -2)))
 
 (mdw-define-c-style mdw-trustonic-alec-c (mdw-trustonic-c)
   (comment-column . 0)
+  (c-indent-comment-alist (anchored-comment . (column . 0))
+                         (end-block . (space . 1))
+                         (cpp-end-block . (space . 1))
+                         (other . (space . 1)))
   (c-offsets-alist (arglist-cont-nonempty . mdw-c-indent-arglist-nested)))
 
 (defun mdw-set-default-c-style (modes style)