diff options
author | Juri Linkov <juri@jurta.org> | 2004-12-01 19:48:52 +0000 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2004-12-01 19:48:52 +0000 |
commit | d8059b033116768212476cc68bbff8beb19b11ba (patch) | |
tree | 62d94e8e5cd7e8cbdd93d7900e54e3bf0d8a2c7b /lisp/progmodes/prolog.el | |
parent | 957ea28ac6fe0fe91873e3f6abdf6c8ee091b456 (diff) | |
download | emacs-d8059b033116768212476cc68bbff8beb19b11ba.tar.gz |
(prolog-mode-variables): Fix imenu-generic-expression.
Diffstat (limited to 'lisp/progmodes/prolog.el')
-rw-r--r-- | lisp/progmodes/prolog.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index c5a169d2fa1..25bc337a7b2 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -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) |