mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue