From 28082234ed759ee7725d4acc07a0efa075683253 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 20 May 2021 18:46:06 +0100 Subject: [PATCH] el/dot-emacs.el: Rename the Trustonic C styles. It seems that the bizarre indentation of argument lists was a perversion specific to Alec. Don't do this by default any more. Rename the `basic' version to be `mdw-trustonic-c', and make the strange perversion be `mdw-trustonic-alec-c'. --- el/dot-emacs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index c1beb94..705143e 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -2130,16 +2130,16 @@ set." (statement-cont . +) (statement-case-intro . +))) -(mdw-define-c-style mdw-trustonic-basic-c (mdw-c) +(mdw-define-c-style mdw-trustonic-c (mdw-c) (c-basic-offset . 4) - (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 (access-label . -2))) -(mdw-define-c-style mdw-trustonic-c (mdw-trustonic-basic-c) +(mdw-define-c-style mdw-trustonic-alec-c (mdw-trustonic-c) + (comment-column . 0) (c-offsets-alist (arglist-cont-nonempty . mdw-c-indent-arglist-nested))) (defun mdw-set-default-c-style (modes style) -- 2.11.0