1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix last change

This commit is contained in:
Leo Liu 2014-10-11 22:27:47 +08:00
parent 217f4eed7b
commit 541961c945

View 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)