alezost pushed a commit to branch master
in repository guix.
commit f5688801b29cf7f442b62de5cf53bdbf5afe186b
Author: Alex Kost <[email protected]>
Date: Sat Dec 5 23:51:43 2015 +0300
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.
---
emacs/guix-info.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/guix-info.el b/emacs/guix-info.el
index 260c768..9dd6afa 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)