summaryrefslogtreecommitdiff
path: root/helm-imenu.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-03-16 07:16:16 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-03-16 07:16:16 +0100
commiteed7ba6a1ec93270f93779108387364c8c903652 (patch)
treebcc9a4e19d37e789e32eec413bc9b3f201f1e544 /helm-imenu.el
parent16f37e429c33fcb66a396c5259ce07a6b0c62d3f (diff)
Fix buffer name in imenu transformer.
* helm-imenu.el (helm-imenu-transformer): value is maybe an integer.
Diffstat (limited to 'helm-imenu.el')
-rw-r--r--helm-imenu.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-imenu.el b/helm-imenu.el
index b8b8fef2..15b7bcb7 100644
--- a/helm-imenu.el
+++ b/helm-imenu.el
@@ -270,7 +270,8 @@ Each car is a regexp match pattern of the imenu type string."
for bufname = (buffer-name
(pcase v
((pred overlayp) (overlay-buffer v))
- ((pred markerp) (marker-buffer v))))
+ ((or (pred markerp) (pred integerp))
+ (marker-buffer v))))
for disp1 = (mapconcat
(lambda (x)
(propertize