diff options
author | Alex Kost <alezost@gmail.com> | 2015-11-21 12:25:19 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2016-01-02 17:25:35 +0300 |
commit | e40b3c33f4750dcbe83012eb4e5b8e786f9f71b1 (patch) | |
tree | b0a90c77821e1798a51533b53fa681368374ec4c /emacs/guix-list.el | |
parent | c8e2666a8a6f0c96f389f8775f1d8dbad38153c1 (diff) | |
download | gnu-guix-e40b3c33f4750dcbe83012eb4e5b8e786f9f71b1.tar gnu-guix-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-list.el')
-rw-r--r-- | emacs/guix-list.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/guix-list.el b/emacs/guix-list.el index 9aed7dcb82..8a9c10f2da 100644 --- a/emacs/guix-list.el +++ b/emacs/guix-list.el @@ -380,7 +380,7 @@ Same as `tabulated-list-sort', but also restore marks after sorting." (defvar guix-list-mode-map (let ((map (make-sparse-keymap))) (set-keymap-parent - map (make-composed-keymap guix-root-map + map (make-composed-keymap guix-buffer-map tabulated-list-mode-map)) (define-key map (kbd "RET") 'guix-list-describe) (define-key map (kbd "i") 'guix-list-describe) |