strip the faces of symbol strings in prelude-ido-goto-symbol

This commit is contained in:
Bozhidar Batsov 2012-12-23 09:54:46 +02:00
parent 2f098392c7
commit 4acc2043b6

View file

@ -78,8 +78,8 @@
(get-text-property 1 'org-imenu-marker symbol)))) (get-text-property 1 'org-imenu-marker symbol))))
(unless (or (null position) (null name) (unless (or (null position) (null name)
(string= (car imenu--rescan-item) name)) (string= (car imenu--rescan-item) name))
(add-to-list 'symbol-names name) (add-to-list 'symbol-names (substring-no-properties name))
(add-to-list 'name-and-pos (cons name position)))))))) (add-to-list 'name-and-pos (cons (substring-no-properties name) position))))))))
;; add a shortcut for prelude-ido-goto-symbol ;; add a shortcut for prelude-ido-goto-symbol
(eval-after-load 'prelude-mode (eval-after-load 'prelude-mode