aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-info.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-12-05 23:51:43 +0300
committerAlex Kost <alezost@gmail.com>2015-12-06 12:46:10 +0300
commitf5688801b29cf7f442b62de5cf53bdbf5afe186b (patch)
tree1a8d18e2aff41e0d6fabd06d7cf2b985dec54094 /emacs/guix-info.el
parent9ff175655c90af938a93eee601ae2a88071b134b (diff)
downloadguix-f5688801b29cf7f442b62de5cf53bdbf5afe186b.tar
guix-f5688801b29cf7f442b62de5cf53bdbf5afe186b.tar.gz
emacs: info: Show a message after copying button label.
* emacs/guix-info.el (guix-info-button-copy-label): Use 'guix-copy-as-kill' to display a message with what was killed.
Diffstat (limited to 'emacs/guix-info.el')
-rw-r--r--emacs/guix-info.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/guix-info.el b/emacs/guix-info.el
index 260c7680f5..9dd6afa2e0 100644
--- a/emacs/guix-info.el
+++ b/emacs/guix-info.el
@@ -374,7 +374,7 @@ If POS is nil, use the current point position."
(interactive)
(let ((button (button-at (or pos (point)))))
(when button
- (kill-new (button-label button)))))
+ (guix-copy-as-kill (button-label button)))))
(defun guix-info-insert-action-button (label action &optional message
&rest properties)