Merge topic 'emacs-mode-indent-issue-12908'
7da35e6
cmake-mode.el: Indent after multiline argument (#12908)
This commit is contained in:
commit
055999a1ef
|
@ -99,6 +99,7 @@ set the path with these commands:
|
||||||
(setq region (buffer-substring-no-properties (point) point-start))
|
(setq region (buffer-substring-no-properties (point) point-start))
|
||||||
(while (and (not (bobp))
|
(while (and (not (bobp))
|
||||||
(or (looking-at cmake-regex-blank)
|
(or (looking-at cmake-regex-blank)
|
||||||
|
(cmake-line-starts-inside-string)
|
||||||
(not (and (string-match cmake-regex-indented region)
|
(not (and (string-match cmake-regex-indented region)
|
||||||
(= (length region) (match-end 0))))))
|
(= (length region) (match-end 0))))))
|
||||||
(forward-line -1)
|
(forward-line -1)
|
||||||
|
|
Loading…
Reference in New Issue