summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2017-06-16 21:31:45 +0300
committerAlex Kost <alezost@gmail.com>2017-06-16 21:31:45 +0300
commita1d57fbfa8d635dcf9762ab7194faa673f262532 (patch)
tree670acf130453a27a969b2105f29ecd4095fca9a0
parentelisp/ui-system-generation: Rename bootloader parameter (diff)
downloadguix-wigust-a1d57fbfa8d635dcf9762ab7194faa673f262532.tar.gz
elisp/ui: Give priority to 'guix-ui-map' over parent list/info maps
In particular, this change binds "M" key to 'guix-apply-manifest' command (from 'guix-ui-map'). It was bounded to 'bui-list-mark-all' (from 'bui-list-mode-map') in List modes before this commit. * elisp/guix-ui.el (guix-ui-define-interface): Switch 'guix-ui-map' and a major-mode parent map.
-rw-r--r--elisp/guix-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/guix-ui.el b/elisp/guix-ui.el
index d6d5d36..10dcef8 100644
--- a/elisp/guix-ui.el
+++ b/elisp/guix-ui.el
@@ -188,7 +188,7 @@ Along with the mentioned definitions, this macro also defines:
(defvar ,mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent
- map (make-composed-keymap ,parent-map guix-ui-map))
+ map (make-composed-keymap guix-ui-map ,parent-map))
map)
,(format "Keymap for `%s' buffers." mode-str))