From: Karl Heuer Date: Thu, 4 Dec 1997 04:28:41 +0000 (+0000) Subject: (prolog-mode-variables): X-Git-Tag: emacs-20.3~2677 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2c239c80615a03573fde06a8f189e8c5ae666686;p=emacs.git (prolog-mode-variables): Set imenu-generic-expression. --- 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)