branch: elpa/helm
commit f2b38c8804538fb3fcba34b9a715552f10d30738
Author: Ta Quang Trung <[email protected]>
Commit: Ta Quang Trung <[email protected]>
helm-imenu only shows icons in graphical display
---
helm-imenu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-imenu.el b/helm-imenu.el
index 5a4a57a308..76244bce89 100644
--- a/helm-imenu.el
+++ b/helm-imenu.el
@@ -392,7 +392,7 @@ string."
"Top level")
k))
for disp1 = (cond
- (helm-imenu-show-icons
+ ((and helm-imenu-show-icons (display-graphic-p))
(let* ((icon (assoc-default (car types)
helm-imenu-icons-mapping))
(icon (if (null icon) "symbol-misc.svg" icon))