emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/blist 0d3d8d50a2 2/3: Fix an issue in key-binding


From: ELPA Syncer
Subject: [elpa] externals/blist 0d3d8d50a2 2/3: Fix an issue in key-binding
Date: Wed, 13 Dec 2023 03:57:38 -0500 (EST)

branch: externals/blist
commit 0d3d8d50a2e33cfa0fae440b1ff6dc3546149315
Author: JSDurand <mmemmew@gmail.com>
Commit: JSDurand <mmemmew@gmail.com>

    Fix an issue in key-binding
    
    * blist.el: Previously I only bind to the 'return' and 'shift-return'
      keys, without considering the 'C-m' and 'C-S-m' keys.  The latter
      might be used instead of the former when inside a terminal.  This
      commit fixes this issue.
---
 blist.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/blist.el b/blist.el
index 21b0f8b64b..1f92efb834 100644
--- a/blist.el
+++ b/blist.el
@@ -671,6 +671,8 @@ used as a `revert-buffer-function'."
   (define-key map (vector 'backtab) #'blist-prev-group)
   (define-key map (vector 'return) #'blist-return)
   (define-key map (vector 'S-return) #'blist-toggle-other-groups)
+  (define-key map (vector ?\C-m) #'blist-return)
+  (define-key map (vector ?\C-\S-m) #'blist-toggle-other-groups)
   (define-key map (vector ?o) #'blist-open-other-window)
   (define-key map (vector ?v) #'blist-select)
   (define-key map (vector ?r) #'blist-rename)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]