summaryrefslogtreecommitdiff
path: root/helm-color.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2012-08-03 06:48:56 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2012-08-03 06:48:56 +0200
commit731037b938a7af6c97a6600c2dc494c0643c4a5d (patch)
treeb7f3d043044b3adf7705d25125592569f02d9501 /helm-color.el
parent553bbfee14ab47489c286275480af3f34b09d1a8 (diff)
* helm-color.el (helm-c-source-customize-face): Add kill-new action.
Diffstat (limited to 'helm-color.el')
-rw-r--r--helm-color.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/helm-color.el b/helm-color.el
index 09e53081..3190e808 100644
--- a/helm-color.el
+++ b/helm-color.el
@@ -38,8 +38,12 @@
(init . helm-custom-faces-init)
(candidates-in-buffer)
(get-line . buffer-substring)
- (action . (lambda (line)
- (customize-face (intern (car (split-string line)))))))
+ (action . (("Customize"
+ . (lambda (line)
+ (customize-face (intern (car (split-string line))))))
+ ("Copy name"
+ . (lambda (line)
+ (kill-new (car (split-string line " " t))))))))
"See (info \"(emacs)Faces\")")
;;; Colors browser