changeset 14575:69a5f0592433

(imenu--generic-function): Ignore text properties.
author Karl Heuer <kwzh@gnu.org>
date Fri, 16 Feb 1996 00:52:43 +0000
parents 1b6e39d4143c
children d82c768cb571
files lisp/imenu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/imenu.el	Fri Feb 16 00:50:22 1996 +0000
+++ b/lisp/imenu.el	Fri Feb 16 00:52:43 1996 +0000
@@ -627,7 +627,7 @@
 			      (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