diff options
author | Brad King <brad.king@kitware.com> | 2015-10-12 14:26:11 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-10-12 14:26:11 (GMT) |
commit | 5dba212f3adf8ffac297c283fff748691678887e (patch) | |
tree | c581ee6274bb7aecddaf568fb9786bf65508dbbe | |
parent | 3f7f4e1d2ea9f9ed658d44343676fe61b2199489 (diff) | |
parent | 47f4b3b662da7f49fd0353b978eaf781608e9282 (diff) | |
download | CMake-5dba212f3adf8ffac297c283fff748691678887e.zip CMake-5dba212f3adf8ffac297c283fff748691678887e.tar.gz CMake-5dba212f3adf8ffac297c283fff748691678887e.tar.bz2 |
Merge topic 'emacs-mode-unscreamify-more'
47f4b3b6 cmake-mode.el: unscreamify symbols instead of words
-rw-r--r-- | Auxiliary/cmake-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index e50ae7b..08ac490 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -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) |