From 74cc67372ec3771b157c015da4ba7ed5d921799f Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Wed, 24 Jun 2015 10:36:18 +0300 Subject: emacs: Add 'guix-root-map'. * emacs/guix-base.el (guix-define-buffer-type): Move common key bindings from here... (guix-root-map): ... to here. New variable. * emacs/guix-info.el (guix-info-mode-map): Use it. * emacs/guix-list.el (guix-list-mode-map): Use it. * doc/emacs.texi (Emacs Keymaps): Document it. --- emacs/guix-info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/guix-info.el') diff --git a/emacs/guix-info.el b/emacs/guix-info.el index cbf8f46ad6..bb21024c0c 100644 --- a/emacs/guix-info.el +++ b/emacs/guix-info.el @@ -395,7 +395,7 @@ 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 button-buffer-map + map (make-composed-keymap (list guix-root-map button-buffer-map) special-mode-map)) map) "Parent keymap for info buffers.") -- cgit v1.2.3