changeset 58713:75d6f143fced

(prolog-mode-variables): Fix imenu-generic-expression.
author Juri Linkov <juri@jurta.org>
date Wed, 01 Dec 2004 19:48:52 +0000
parents fdc16511da69
children 53295bbc3259
files lisp/progmodes/prolog.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/prolog.el	Wed Dec 01 19:48:31 2004 +0000
+++ b/lisp/progmodes/prolog.el	Wed Dec 01 19:48:52 2004 +0000
@@ -101,7 +101,7 @@
   (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)