summaryrefslogtreecommitdiff
path: root/helm-ring.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-02-16 13:26:04 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-02-16 13:26:04 +0100
commit56eca4a974b38cb2c5db489ff03c0d83475fa458 (patch)
tree94870f35f442c93ee1fb0251960b7c57f313d01e /helm-ring.el
parent94ed678ea836cbfdc98cc81c0aae16ab626439cc (diff)
Fix error when macro is a vector (#1970)
* helm-ring.el (helm-kbd-macro-concat-macros): Do it.
Diffstat (limited to 'helm-ring.el')
-rw-r--r--helm-ring.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/helm-ring.el b/helm-ring.el
index 7fd9dbc6..9e136637 100644
--- a/helm-ring.el
+++ b/helm-ring.el
@@ -523,7 +523,12 @@ This command is useful when used with persistent action."
(setq last-kbd-macro
(mapconcat 'identity
(cl-loop for km in mkd
- collect (car km))
+ if (vectorp km)
+ append (cl-loop for k across km collect
+ (key-description (vector k)))
+ into result
+ else collect (car km) into result
+ finally return result)
"")))))
(defun helm-kbd-macro-delete-macro (_candidate)