From 2c239c80615a03573fde06a8f189e8c5ae666686 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 4 Dec 1997 04:28:41 +0000 Subject: [PATCH] (prolog-mode-variables): Set imenu-generic-expression. --- lisp/progmodes/prolog.el | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2