[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode b928611 071/325: Remove keyfreq
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode b928611 071/325: Remove keyfreq |
Date: |
Sat, 23 Oct 2021 18:48:24 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit b92861100f634fbe7f7f839661e993bafa56a24a
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Remove keyfreq
---
ergoemacs-command-loop.el | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/ergoemacs-command-loop.el b/ergoemacs-command-loop.el
index 2ab7e28..4e91b05 100644
--- a/ergoemacs-command-loop.el
+++ b/ergoemacs-command-loop.el
@@ -1609,7 +1609,6 @@ Also in the loop, `universal-argument-num-events' is set
to
Emacs versions)."
(interactive)
(when ergoemacs-mode
- (ergoemacs-command-loop--execute-rm-keyfreq 'ergoemacs-command-loop)
;; Call the startup command
(when (commandp ergoemacs-command-loop-start)
(ergoemacs-command-loop--call-interactively ergoemacs-command-loop-start)
@@ -2039,24 +2038,6 @@ pressed the translated key by changing
(throw 'found-command ret))))))
ret)))
-(defun ergoemacs-command-loop--execute-rm-keyfreq (command)
- "Remove COMMAND from `keyfreq-mode' counts."
- (when (featurep 'keyfreq)
- (when keyfreq-mode
- (let (count)
- (setq count (ergoemacs-gethash (cons major-mode command)
keyfreq-table))
- (cond
- ((not count))
- ((= count 1)
- (remhash (cons major-mode command) keyfreq-table))
- (count
- (puthash (cons major-mode command) (- count 1)
- keyfreq-table)))
- ;; Add local-fn to counter.
- (setq count (ergoemacs-gethash (cons major-mode command)
keyfreq-table))
- (puthash (cons major-mode command) (if count (+ count 1) 1)
- keyfreq-table)))))
-
;; (3) execute command
(defun ergoemacs-command-loop--execute (command &optional keys)
"Execute COMMAND pretending that KEYS were pressed."
@@ -2080,10 +2061,6 @@ pressed the translated key by changing
(t
;; This should be a regular command.
- ;; Remove counting of `this-command' in `keyfreq-mode'
- ;; Shouldn't be needed any more...
- ;; (ergoemacs-command-loop--execute-rm-keyfreq this-command)
-
;; This command execute should modify the following variables:
;; - `last-repeatable-command'
;; - `this-command'
- [elpa] externals/ergoemacs-mode a6c1ca2 028/325: Remove dead code, (continued)
- [elpa] externals/ergoemacs-mode a6c1ca2 028/325: Remove dead code, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7851e51 031/325: Remove more package stuff, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 270e6b7 041/325: Remove all of :modal, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 4b850f2 060/325: Remove dead code and useless message, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 58ac535 061/325: Remove obsolete names, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 8f6a50e 053/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode d84c00c 065/325: Add missing requires for ibuffer, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7ce34ce 086/325: Remove some M-C-* entries in term-raw-map., Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 3690135 077/325: Remove more shift translation, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 1c84bf1 090/325: Reindent, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode b928611 071/325: Remove keyfreq,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode 88ecca1 117/325: Cleanup and remove <next>, <pause>, <prior>, <mouse> bindings, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode cdfb329 134/325: Install calc bindings with a regular function, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 61218ba 138/325: Remove multiple-cursors and avy, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 0640576 161/325: Menu work, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 45688c2 164/325: Add better binding for Fill menu, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 3fcd06c 163/325: Fix interrupting isearch with a regular command, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode addfd4c 156/325: Use ergoemacs-override-keymap instead of a local keymap, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 35897ad 159/325: Fix menus so that "Open Recent" works, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 27e8a09 167/325: Remove more macros, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode f6aac16 172/325: Remove unused ergoemacs-command-loop, Stefan Monnier, 2021/10/23