From d8059b033116768212476cc68bbff8beb19b11ba Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 1 Dec 2004 19:48:52 +0000 Subject: [PATCH] (prolog-mode-variables): Fix imenu-generic-expression. --- lisp/progmodes/prolog.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index c5a169d2fa1..25bc337a7b2 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -101,7 +101,7 @@ nil means send actual operating system end of file." (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_]+") + (setq imenu-generic-expression '((nil "^\\sw+" 0))) (make-local-variable 'indent-line-function) (setq indent-line-function 'prolog-indent-line) (make-local-variable 'comment-start) -- 2.39.5