diff options
author | Karl Heuer <kwzh@gnu.org> | 1997-12-04 04:28:41 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1997-12-04 04:28:41 +0000 |
commit | 2c239c80615a03573fde06a8f189e8c5ae666686 (patch) | |
tree | 9d6cd1aa628f29eaf7264c6c3e315d186fe9a588 /lisp/progmodes/prolog.el | |
parent | aa2c242656c77824ca82aa43f96a20f1cef36806 (diff) | |
download | emacs-2c239c80615a03573fde06a8f189e8c5ae666686.tar.gz |
(prolog-mode-variables):
Set imenu-generic-expression.
Diffstat (limited to 'lisp/progmodes/prolog.el')
-rw-r--r-- | lisp/progmodes/prolog.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 7817b2555be..593d3a8de31 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -93,6 +93,8 @@ nil means send actual operating system end of file." (setq paragraph-separate paragraph-start) (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_]+") (make-local-variable 'indent-line-function) (setq indent-line-function 'prolog-indent-line) (make-local-variable 'comment-start) |