mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 15:21:46 +00:00
Fix alignment of declaractions of arrays
* lisp/align.el (align-rules-list): Align variable declarations like char *foo[], too (bug#23370).
This commit is contained in:
parent
3ebd17d04f
commit
ca006807bf
@ -412,7 +412,7 @@ The possible settings for `align-region-separate' are:
|
||||
|
||||
(c-variable-declaration
|
||||
(regexp . ,(concat "[*&0-9A-Za-z_]>?[&*]*\\(\\s-+[*&]*\\)"
|
||||
"[A-Za-z_][0-9A-Za-z:_]*\\s-*\\(\\()\\|"
|
||||
"[A-Za-z_][][0-9A-Za-z:_]*\\s-*\\(\\()\\|"
|
||||
"=[^=\n].*\\|(.*)\\|\\(\\[.*\\]\\)*\\)"
|
||||
"\\s-*[;,]\\|)\\s-*$\\)"))
|
||||
(group . 1)
|
||||
|
Loading…
Reference in New Issue
Block a user