Commit d8059b03 authored by Juri Linkov's avatar Juri Linkov
Browse files

(prolog-mode-variables): Fix imenu-generic-expression.

parent 957ea28a
......@@ -101,7 +101,7 @@ nil means send actual operating system end of file."
(make-local-variable 'paragraph-ignore-fill-prefix)
(setq paragraph-ignore-fill-prefix t)
(make-local-variable 'imenu-generic-expression)
(setq imenu-generic-expression "^[a-z][a-zA-Z0-9_]+")
(setq imenu-generic-expression '((nil "^\\sw+" 0)))
(make-local-variable 'indent-line-function)
(setq indent-line-function 'prolog-indent-line)
(make-local-variable 'comment-start)
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