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:
parent
9ff175655c
commit
f5688801b2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue