diff options
author | Alan Mackenzie <acm@muc.de> | 2019-10-12 09:30:23 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2019-10-12 09:30:23 +0000 |
commit | 55fdbec44316036b85d96a4d808a5f1f17276fc6 (patch) | |
tree | 4551d60f6ef739e487719f87c58c8398fadc18b5 /lisp/progmodes/cc-align.el | |
parent | 933c0bb96e7b157b551665dfd02141d1cd860771 (diff) | |
download | emacs-55fdbec44316036b85d96a4d808a5f1f17276fc6.tar.gz |
CC-Mode: Remove unneeded backslashes from doc strings and regular expressions
Also make miscellaneous amendments.
* lisp/progmodes/cc-align.el, lisp/progmodes/cc-cmds.el
* lisp/progmodes/cc-defs.el, lisp/progmodes/cc-engine.el
* lisp/progmodes/cc-langs.el, lisp/progmodes/cc-vars.el: Remove lots of
unneeded backslashes.
* lisp/progmodes/cc-langs.el (c-string-innards-re-alist): Remove redundant
"\\|\r" from regular expression.
* lisp/progmodes/cc-mode.el (c-make-mode-syntax-table): Correct the name of
the hook normal-erase-is-backspace-MODE-hook from a non-existant hook name.
Diffstat (limited to 'lisp/progmodes/cc-align.el')
-rw-r--r-- | lisp/progmodes/cc-align.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-align.el b/lisp/progmodes/cc-align.el index 74548f643a7..82587b78658 100644 --- a/lisp/progmodes/cc-align.el +++ b/lisp/progmodes/cc-align.el @@ -322,7 +322,7 @@ if ( x < 10 Since this function doesn't do anything for lines without an infix operator you typically want to use it together with some other line-up -settings, e.g. as follows \(the arglist-close setting is just a +settings, e.g. as follows (the arglist-close setting is just a suggestion to get a consistent style): \(c-set-offset \\='arglist-cont \\='(c-lineup-arglist-operators 0)) @@ -1246,7 +1246,7 @@ That is useful in a list expression to specify the default indentation on the top level. If `c-syntactic-indentation-in-macros' is nil then this function keeps -the current indentation, except for empty lines \(ignoring the ending +the current indentation, except for empty lines (ignoring the ending backslash) where it takes the indentation from the closest preceding nonempty line in the macro. If there's no such line in the macro then the indentation is taken from the construct preceding it, as described |