Commit 47f4b3b6 authored by Kevin Burge's avatar Kevin Burge Committed by Brad King

cmake-mode.el: unscreamify symbols instead of words

cmake-unscreamify-buffer should unscream more than just
words. For example:

parent a935745d
......@@ -177,7 +177,7 @@ the indentation. Otherwise it retains the same position on the line"
(goto-char (point-min))
(while (re-search-forward "^\\([ \t]*\\)\\(\\w+\\)\\([ \t]*(\\)" nil t)
(while (re-search-forward "^\\([ \t]*\\)\\_<\\(\\(?:\\w\\|\\s_\\)+\\)\\_>\\([ \t]*(\\)" nil t)
(match-string 1)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment