From e1de30147b3f994f4497b95dfa563b3cc9125708 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 16 Feb 1996 00:52:43 +0000 Subject: (imenu--generic-function): Ignore text properties. --- lisp/imenu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/imenu.el b/lisp/imenu.el index a26e6d2ea2..2e9d9be1cb 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -627,7 +627,7 @@ pattern. (end (match-end index))) (setq found t) (push - (cons (buffer-substring beg end) beg) + (cons (buffer-substring-no-properties beg end) beg) (cdr (or (if (not (stringp menu-title)) index-alist) (assoc -- cgit v1.2.3