summaryrefslogtreecommitdiff
path: root/helm-color.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-09-26 06:52:40 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-09-26 06:52:40 +0200
commit566e03e834f7f5315c4c4d5c354ecfcf44260b59 (patch)
treec6c029846b9ab57d21ede09616c69f1bbf72fb85 /helm-color.el
parent5b9abcba845f2f955f1466972afe9730e1a27fa6 (diff)
Use elisp persistent action in helm-colors (#1613).
* helm-color.el (helm-source-customize-face): Do it.
Diffstat (limited to 'helm-color.el')
-rw-r--r--helm-color.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/helm-color.el b/helm-color.el
index 4122cf3f..c9e90a86 100644
--- a/helm-color.el
+++ b/helm-color.el
@@ -41,6 +41,11 @@
(helm-build-in-buffer-source "Customize Face"
:init 'helm-custom-faces-init
:get-line 'buffer-substring
+ :persistent-action (lambda (candidate)
+ (helm-elisp--persistent-help
+ (intern (car (split-string candidate)))
+ 'helm-describe-face))
+ :persistent-help "Describe face"
:action '(("Customize"
. (lambda (line)
(customize-face (intern (car (split-string line))))))