summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2014-10-11 22:27:47 +0800
committerLeo Liu <sdl.web@gmail.com>2014-10-11 22:27:47 +0800
commit541961c945a3e7061b23bc07dae758ab911cc61d (patch)
tree7eaaa05df3a4ad08d67a07cb114d9b9ff03cc7f4
parent217f4eed7b41858c11e4a1aa19159c0d4ba02d4a (diff)
Fix last change
-rw-r--r--lisp/progmodes/cfengine.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el
index 14eb379a70..8e43c81247 100644
--- a/lisp/progmodes/cfengine.el
+++ b/lisp/progmodes/cfengine.el
@@ -1302,8 +1302,8 @@ Use it by enabling `eldoc-mode'."
"A function for `imenu-create-index-function'."
(goto-char (point-min))
(let ((re (concat "^\\s-*" cfengine3-defuns-regex
- "\\s-*\\(\\(?:\\w\\|\\s_\\)+\\)" ;type
- "\\s-*\\(\\(?:\\w\\|\\s_\\)+\\)" ;id
+ "\\s-+\\(\\(?:\\w\\|\\s_\\)+\\)" ;type
+ "\\s-+\\(\\(?:\\w\\|\\s_\\)+\\)" ;id
))
(defuns ()))
(while (re-search-forward re nil t)