~ruther/guix-local

f5688801b29cf7f442b62de5cf53bdbf5afe186b — Alex Kost 10 years ago 9ff1756
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.
1 files changed, 1 insertions(+), 1 deletions(-)

M emacs/guix-info.el
M emacs/guix-info.el => emacs/guix-info.el +1 -1
@@ 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)