[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/free-keys 11241fd518 07/19: Display keys for which keybind
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/free-keys 11241fd518 07/19: Display keys for which keybinding is 'undefined. |
Date: |
Sat, 29 Jan 2022 08:02:52 -0500 (EST) |
branch: elpa/free-keys
commit 11241fd5181ef9af8cfd05a82854b94e8b7fe0bb
Author: Matus Goljer <dota.keys@gmail.com>
Commit: Matus Goljer <dota.keys@gmail.com>
Display keys for which keybinding is 'undefined.
---
free-keys.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/free-keys.el b/free-keys.el
index fa7e6b4509..bc7a18fad5 100644
--- a/free-keys.el
+++ b/free-keys.el
@@ -87,7 +87,7 @@
;;;###autoload
(defun free-keys (&optional prefix buffer)
(interactive (list (when current-prefix-arg
- (read-from-minibuffer "Prefix: "))))
+ (read-from-minibuffer "Prefix: "))))
(setq prefix (or prefix ""))
(setq free-keys-original-buffer (or buffer (current-buffer)))
(let ((buf (get-buffer-create "*Free keys*")))
@@ -118,7 +118,8 @@
(if prefix (concat prefix " " key-name)
key-name))
(binding
(with-current-buffer free-keys-original-buffer
(key-binding (read-kbd-macro full-name)))))
- (when (not binding)
+ (when (or (not binding)
+ (eq binding 'undefined))
(push full-name empty-keys))))
free-keys-keys)
(free-keys--print-in-columns (nreverse empty-keys)))
- [nongnu] branch elpa/free-keys created (now 7348ce6819), ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys d681a3fba0 12/19: Fix the "overflow" bug on the last/first row if the displayed list was not rectangular, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 3b4a18417b 06/19: Add revert function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys a975b8fe62 15/19: Suppress byte-compile warning, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 11241fd518 07/19: Display keys for which keybinding is 'undefined.,
ELPA Syncer <=
- [nongnu] elpa/free-keys f5db0a1e43 02/19: Add the note about `bind-key`, fix typos, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys f5d882d4c7 11/19: Better display of empty keys (no empty groups, fixed nil modifiers), ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 8c9ea744c1 08/19: Move header help into header-line-format, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 79205af5f5 01/19: Initial commit, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 452d26a3fc 03/19: Do not autoload the major-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys aca6032c3e 05/19: Merge pull request #1 from syohex/support-for-old-emacs, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 9cc42a07a6 04/19: Support old emacs(<= 24.2), ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 982aea30d1 09/19: Add docstrings & readme, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 845d7bc367 10/19: Update readme, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys e23ec255d4 13/19: Add option to ignore certain keybindings (shadowed by WM etc.), ELPA Syncer, 2022/01/29