# HG changeset patch # User Karl Heuer # Date 881209721 0 # Node ID ba46225fd687a72b3cf2e9c295d95d9a315e2c64 # Parent 2bd6621697d5530b2fe678b2d6b13d8535dc9076 (prolog-mode-variables): Set imenu-generic-expression. diff -r 2bd6621697d5 -r ba46225fd687 lisp/progmodes/prolog.el --- 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)