guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: emacs: info: Show a message after copying button label.


From: Alex Kost
Subject: 05/06: emacs: info: Show a message after copying button label.
Date: Sun, 06 Dec 2015 09:55:02 +0000

alezost pushed a commit to branch master
in repository guix.

commit f5688801b29cf7f442b62de5cf53bdbf5afe186b
Author: Alex Kost <address@hidden>
Date:   Sat Dec 5 23:51:43 2015 +0300

    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.
---
 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 260c768..9dd6afa 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]