[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 5e0c000 050/325: Cleanup
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode 5e0c000 050/325: Cleanup |
Date: |
Sat, 23 Oct 2021 18:48:19 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit 5e0c000ab365069d16b9f06d2cd0c6acdbf1345f
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Cleanup
---
ergoemacs-command-loop.el | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/ergoemacs-command-loop.el b/ergoemacs-command-loop.el
index 2d319ce..017aa7b 100644
--- a/ergoemacs-command-loop.el
+++ b/ergoemacs-command-loop.el
@@ -105,8 +105,6 @@
(defvar ergoemacs-command-loop--universal-functions '(universal-argument
ergoemacs-universal-argument ergoemacs-command-loop--universal-argument)
"List of `ergoemacs-mode' recognized functions.")
-(define-obsolete-variable-alias 'ergoemacs-universal-fns
'ergoemacs-command-loop--universal-functions)
-
(defvar ergoemacs-command-loop--next-key-hash
(let ((hash (make-hash-table)))
(puthash 'event-apply-shift-modifier (list '(shift) :force) hash)
@@ -131,8 +129,6 @@ This is to distinguish events in a terminal, like xterm.
It needs to be less than `ergoemacs-command-loop-blink-rate'.")
-(define-obsolete-variable-alias 'ergoemacs-read-key-delay
'ergoemacs-command-loop--decode-event-delay)
-
(defvar ergoemacs-command-loop--history nil
"History of command loop locations.")
@@ -712,8 +708,7 @@ KEYS is the keys information"
(defun ergoemacs-command--echo-prefix ()
"Echos prefix keys in the ergoemacs-mode way."
- (let ((keys (this-single-command-keys))
- ret timeout)
+ (let ((keys (this-single-command-keys)))
(when (and ergoemacs-command--timeout-timer
(not (equal keys ergoemacs-command--timeout-keys)))
(cancel-timer ergoemacs-command--timeout-timer)
@@ -721,8 +716,8 @@ KEYS is the keys information"
ergoemacs-command--timeout-timer nil))
(unless (or (equal [] keys)
(ergoemacs-command-loop-p))
- (when (ergoemacs-keymapp (setq ret (key-binding keys)))
- (when (setq timeout (key-binding (vconcat keys [ergoemacs-timeout])))
+ (when (ergoemacs-keymapp (key-binding keys))
+ (when (key-binding (vconcat keys [ergoemacs-timeout]))
(cond
((not (region-active-p))) ;; active
(t
@@ -1006,7 +1001,7 @@ KEY is the key being read, or sequence being read.
TYPE is the translation being used.
-INITIAL-KEY-TYPE ist he key type that is used fot the initial
+INITIAL-KEY-TYPE is the key type that is used fot the initial
translation.
UNIVERSAL is if the function will be calling a universal
@@ -2009,7 +2004,7 @@ pressed the translated key by changing
;; Make sure to lookup the keys in the selected buffer
(ergoemacs-command-loop--sync-point)
(let ((trials (ergoemacs-translate--trials key))
- tmp tmp2 ret)
+ tmp ret)
(setq this-command-keys-shift-translated nil)
(catch 'found-command
(dolist (cur-key trials)
- [elpa] externals/ergoemacs-mode e3d4071 108/325: Remove standard-var component, (continued)
- [elpa] externals/ergoemacs-mode e3d4071 108/325: Remove standard-var component, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 8764713 113/325: Fix more warnings, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode cc8c354 106/325: Simplify ergoemacs-mode and remove ergoemacs-mode--update-theme-description, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 9ded0d2 126/325: Move more keys into plain functions, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 8dc60d8 013/325: Move ergoemacs-test-layout to ergoemacs-test, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode a876297 027/325: Add a comment, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 9e8d701 010/325: Remove unused require 'strings and assorted cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode f0c4e91 142/325: Unset keys in ibuffer, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 1c2f61e 018/325: Remove tabbar-toddle since its only purpose is to download tabber, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 8b47756 021/325: Revert "Remove cttl-x-c 'both' option", Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 5e0c000 050/325: Cleanup,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode c59bedc 047/325: Remove more modal, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 65ad125 054/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7c8eea5 069/325: Remove command loop timer, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 49a1430 064/325: Remove theme test, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode ac50534 067/325: Make ergoemacs-mode only run when called, not when the file is loaded., Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode b40f209 084/325: Remove duplicate entries, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 655f116 085/325: Remove redundant entries in term-raw-map, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode f46b453 087/325: Remove some term bindings, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 58dc2d8 083/325: Use explicit functions for term-raw-map so byte compiling works, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 1a67e04 074/325: Remove shift translation, Stefan Monnier, 2021/10/23