From 541961c945a3e7061b23bc07dae758ab911cc61d Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Sat, 11 Oct 2014 22:27:47 +0800 Subject: [PATCH] Fix last change --- lisp/progmodes/cfengine.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5