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.
This commit is contained in:
Alex Kost 2015-12-05 23:51:43 +03:00
parent 9ff175655c
commit f5688801b2
1 changed files with 1 additions and 1 deletions

View File

@ -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)