Merge topic 'emacs-mode-unscreamify-more'

47f4b3b6 cmake-mode.el: unscreamify symbols instead of words
This commit is contained in:
Brad King 2015-10-12 10:26:11 -04:00 committed by CMake Topic Stage
commit 5dba212f3a
1 changed files with 1 additions and 1 deletions

View File

@ -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)