summaryrefslogtreecommitdiff
path: root/doc/emacs.texi
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2014-11-08 20:13:32 +0300
committerAlex Kost <alezost@gmail.com>2014-11-10 16:13:40 +0300
commit56149217548cb2b31c0075ffe4adc89ce0362a12 (patch)
tree095172ebae12dbdaea003b35919e70e4d7378a30 /doc/emacs.texi
parent054a3921f09e6670522030829d6367cb1275ba7a (diff)
downloadpatches-56149217548cb2b31c0075ffe4adc89ce0362a12.tar
patches-56149217548cb2b31c0075ffe4adc89ce0362a12.tar.gz
emacs: Add "c" key binding to copy a button link.
* emacs/guix-info.el (guix-info-button-map): New variable. (guix-info-button-copy-label): New procedure. * doc/emacs.texi (Emacs Info buffer): Mention a "c" key binding. (Emacs Keymaps): Add 'guix-info-button-map'.
Diffstat (limited to 'doc/emacs.texi')
-rw-r--r--doc/emacs.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs.texi b/doc/emacs.texi
index 89e2570d01..ad2dcd8f65 100644
--- a/doc/emacs.texi
+++ b/doc/emacs.texi
@@ -290,6 +290,9 @@ emacs, The GNU Emacs Manual}) which can be used to:
@end itemize
+It is also possible to copy a button label (a link to an URL or a file)
+by pressing @kbd{c} on a button.
+
@node Emacs Configuration
@subsection Configuration
@@ -397,6 +400,9 @@ Keymap with specific keys for ``output-info'' buffers.
@item guix-generation-info-mode-map
Keymap with specific keys for ``generation-info'' buffers.
+@item guix-info-button-map
+Keymap with keys available when a point is placed on a button.
+
@end table
@node Emacs Appearance