Commit 541961c9 authored by Leo Liu's avatar Leo Liu
Browse files

Fix last change

parent 217f4eed
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment