diff options
author | Alex Kost <alezost@gmail.com> | 2015-12-05 23:51:43 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2015-12-06 12:46:10 +0300 |
commit | f5688801b29cf7f442b62de5cf53bdbf5afe186b (patch) | |
tree | 1a8d18e2aff41e0d6fabd06d7cf2b985dec54094 /emacs | |
parent | 9ff175655c90af938a93eee601ae2a88071b134b (diff) | |
download | gnu-guix-f5688801b29cf7f442b62de5cf53bdbf5afe186b.tar gnu-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')
-rw-r--r-- | 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 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) |