]> code.delx.au - gnu-emacs/commitdiff
Fix last change
authorLeo Liu <sdl.web@gmail.com>
Sat, 11 Oct 2014 14:27:47 +0000 (22:27 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sat, 11 Oct 2014 14:27:47 +0000 (22:27 +0800)
lisp/progmodes/cfengine.el

index 14eb379a709253a57ebc7a4ada3c8c2830c2b341..8e43c812470eca3f3627fcb6699ac94a4da5ec91 100644 (file)
@@ -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)