Mercurial > emacs
changeset 20396:ba46225fd687
(prolog-mode-variables):
Set imenu-generic-expression.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 04 Dec 1997 04:28:41 +0000 |
parents | 2bd6621697d5 |
children | a7bab1d0c5e3 |
files | lisp/progmodes/prolog.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/prolog.el Thu Dec 04 04:27:50 1997 +0000 +++ b/lisp/progmodes/prolog.el Thu Dec 04 04:28:41 1997 +0000 @@ -93,6 +93,8 @@ (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)