From 4acc2043b6531a1c7e01d61b28397371c6568280 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 23 Dec 2012 09:54:46 +0200 Subject: [PATCH] strip the faces of symbol strings in prelude-ido-goto-symbol --- modules/prelude-programming.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/prelude-programming.el b/modules/prelude-programming.el index 7b64c69..0fade14 100644 --- a/modules/prelude-programming.el +++ b/modules/prelude-programming.el @@ -78,8 +78,8 @@ (get-text-property 1 'org-imenu-marker symbol)))) (unless (or (null position) (null name) (string= (car imenu--rescan-item) name)) - (add-to-list 'symbol-names name) - (add-to-list 'name-and-pos (cons name position)))))))) + (add-to-list 'symbol-names (substring-no-properties name)) + (add-to-list 'name-and-pos (cons (substring-no-properties name) position)))))))) ;; add a shortcut for prelude-ido-goto-symbol (eval-after-load 'prelude-mode