aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-info.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-11-21 12:25:19 +0300
committerAlex Kost <alezost@gmail.com>2016-01-02 17:25:35 +0300
commite40b3c33f4750dcbe83012eb4e5b8e786f9f71b1 (patch)
treeb0a90c77821e1798a51533b53fa681368374ec4c /emacs/guix-info.el
parentc8e2666a8a6f0c96f389f8775f1d8dbad38153c1 (diff)
downloadpatches-e40b3c33f4750dcbe83012eb4e5b8e786f9f71b1.tar
patches-e40b3c33f4750dcbe83012eb4e5b8e786f9f71b1.tar.gz
emacs: Split 'guix-root-map' keymap.
* emacs/guix-base.el: (guix-root-map): Split into... (guix-buffer-map): ... this and... * emacs/guix-ui.el (guix-ui-map): ... this. (guix-ui-define-interface): Generate 'guix-ENTRY-TYPE-BUFFER-TYPE-mode-map' keymaps inheriting them from 'guix-ui-map' and 'guix-BUFFER-TYPE-mode-map'. * emacs/guix-info.el (guix-info-mode-map): Use 'guix-buffer-map'. * emacs/guix-list.el (guix-list-mode-map): Likewise. * doc/emacs.texi (Emacs Keymaps): Document new keymaps.
Diffstat (limited to 'emacs/guix-info.el')
-rw-r--r--emacs/guix-info.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/guix-info.el b/emacs/guix-info.el
index 3cad6624f3..6e50d34c4d 100644
--- a/emacs/guix-info.el
+++ b/emacs/guix-info.el
@@ -401,10 +401,10 @@ See `insert-text-button' for the meaning of PROPERTIES."
(defvar guix-info-mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent
- map (make-composed-keymap (list guix-root-map button-buffer-map)
+ map (make-composed-keymap (list guix-buffer-map button-buffer-map)
special-mode-map))
map)
- "Parent keymap for info buffers.")
+ "Keymap for `guix-info-mode' buffers.")
(define-derived-mode guix-info-mode special-mode "Guix-Info"
"Parent mode for displaying information in info buffers.")