aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/imenu.el2
1 files changed, 1 insertions, 1 deletions
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