From: Leo Liu Date: Sat, 11 Oct 2014 14:27:47 +0000 (+0800) Subject: Fix last change X-Git-Tag: emacs-25.0.90~2635^2~679^2~79 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=541961c945a3e7061b23bc07dae758ab911cc61d;p=emacs.git Fix last change --- diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el index 14eb379a709..8e43c812470 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)