From f5688801b29cf7f442b62de5cf53bdbf5afe186b Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Sat, 5 Dec 2015 23:51:43 +0300 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') 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) -- cgit v1.2.3