cmake-mode.el: unscreamify symbols instead of words
cmake-unscreamify-buffer should unscream more than just words. For example: CHECK_FUNCTION_EXISTS (...)
This commit is contained in:
parent
a935745d07
commit
47f4b3b662
|
@ -177,7 +177,7 @@ the indentation. Otherwise it retains the same position on the line"
|
|||
(interactive)
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "^\\([ \t]*\\)\\(\\w+\\)\\([ \t]*(\\)" nil t)
|
||||
(while (re-search-forward "^\\([ \t]*\\)\\_<\\(\\(?:\\w\\|\\s_\\)+\\)\\_>\\([ \t]*(\\)" nil t)
|
||||
(replace-match
|
||||
(concat
|
||||
(match-string 1)
|
||||
|
|
Loading…
Reference in New Issue