summaryrefslogtreecommitdiff
path: root/helm-ring.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-07-23 06:10:08 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-07-23 06:10:08 +0200
commit2942cbe5e43f1046b092269b21ad5d72762f604d (patch)
tree49b7d7500ad2c6373b90d344cc6dc77d23bff532 /helm-ring.el
parentd3edcbf8616058f060e1926f7a74f1ea61386b4d (diff)
helm-register-candidates should not return a string (#1107).
* helm-ring.el (helm-register-candidates): Fix it.
Diffstat (limited to 'helm-ring.el')
-rw-r--r--helm-ring.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/helm-ring.el b/helm-ring.el
index ee73969d..3ba40e15 100644
--- a/helm-ring.el
+++ b/helm-ring.el
@@ -322,9 +322,8 @@ the `global-mark-ring' after each new visit."
"[...]" ""))
'insert-register
'append-to-register
- 'prepend-to-register))
- (t
- "GARBAGE!"))
+ 'prepend-to-register)))
+ unless (null string-actions) ; Fix Issue #1107.
collect (cons (format "Register %3s:\n %s" key (car string-actions))
(cons char (cdr string-actions)))))