[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/free-keys 9cc42a07a6 04/19: Support old emacs(<= 24.2)
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/free-keys 9cc42a07a6 04/19: Support old emacs(<= 24.2) |
Date: |
Sat, 29 Jan 2022 08:02:51 -0500 (EST) |
branch: elpa/free-keys
commit 9cc42a07a6923b8eab102f659894b988fded6d3a
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Support old emacs(<= 24.2)
---
free-keys.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/free-keys.el b/free-keys.el
index 9fe260e261..902eeb16e2 100644
--- a/free-keys.el
+++ b/free-keys.el
@@ -7,6 +7,7 @@
;; Version: 0.1
;; Created: 3rd November 2013
;; Keywords: convenience
+;; Package-Requires: ((cl-lib "0.3"))
;; This file is not part of GNU Emacs.
@@ -30,6 +31,8 @@
;;; Code:
+(require 'cl-lib)
+
(defgroup free-keys ()
"Free keys."
:group 'convenience)
@@ -87,7 +90,9 @@
(let ((buf (get-buffer-create "*Free keys*")))
(pop-to-buffer buf)
(with-current-buffer buf
- (read-only-mode -1)
+ (if (fboundp 'read-only-mode)
+ (read-only-mode -1)
+ (setq buffer-read-only nil))
(erase-buffer)
(insert "Help: (b) change buffer (p) change prefix (q) quit\n"
"--------------------------------------------------\n\n")
- [nongnu] elpa/free-keys d681a3fba0 12/19: Fix the "overflow" bug on the last/first row if the displayed list was not rectangular, (continued)
- [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, 2022/01/29
- [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 <=
- [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
- [nongnu] elpa/free-keys 368820cb36 16/19: Merge pull request #2 from syohex/byte-compile-warning, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys edfd69dc36 17/19: [Fix #3] Add an option to specify multi-character keys, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 6f9172376a 18/19: Bump version to 1.0, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys 7348ce6819 19/19: Merge pull request #6 from phikal/patch-1, ELPA Syncer, 2022/01/29
- [nongnu] elpa/free-keys f42c5c9480 14/19: Change type of free-keys-ignored-bindings to make customisation easier, ELPA Syncer, 2022/01/29