[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode ec39c50 234/325: Remove more ergoemacs-t
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode ec39c50 234/325: Remove more ergoemacs-theme-component--parse |
Date: |
Sat, 23 Oct 2021 18:49:00 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit ec39c50f46fac64ccc86c86ee82a3c50302339dc
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Remove more ergoemacs-theme-component--parse
---
ergoemacs-macros.el | 51 ---------------------------------------------------
1 file changed, 51 deletions(-)
diff --git a/ergoemacs-macros.el b/ergoemacs-macros.el
index 79ed47b..b749b0d 100644
--- a/ergoemacs-macros.el
+++ b/ergoemacs-macros.el
@@ -51,57 +51,6 @@ If SYMBOL is void, return nil"
(ignore-errors (default-value ,symbol))
(ignore-errors (symbol-value ,symbol))))
-;; This shouldn't be called at run-time; This fixes the byte-compile warning.
-
-(fset 'ergoemacs-theme-component--parse-key-str
- #'(lambda (str)
- "Wraps C-i, C-m and C-[ in <>."
- (cond
- ((not (stringp str)) str)
- ((string-match-p "^\\(?:M-\\|S-\\)*C-\\(?:M-\\|S-\\)*[im[]$" str)
(concat "<" str ">"))
- (t str))))
-
-(fset 'ergoemacs-theme-component--parse-key
- #'(lambda (item)
- "Changes `kbd' and `read-kbd-macro' on C-i, C-m, and C-[ to allow
calling on GUI."
- (cond
- ((not (consp item)) item)
- ((eq (nth 0 item) 'kbd)
- (list 'kbd (ergoemacs-theme-component--parse-key-str (nth 1
item))))
- ((eq (nth 0 item) 'read-kbd-macro)
- (list 'read-kbd-macro (ergoemacs-theme-component--parse-key-str
(nth 1 item)) (nth 2 item)))
- (t item))))
-
-(fset 'ergoemacs-theme-component--parse-fun
- #'(lambda (fun)
- "Determine how FUN should be used with
`ergoemacs-component-struct--define-key'."
- (let (tmp)
- (or (and (ergoemacs-keymapp (ergoemacs-sv fun)) `(quote ,fun))
- (ignore-errors
- (and (consp fun)
- (stringp (nth 0 fun))
- (symbolp (nth 1 fun))
- (eq (nth 1 fun) :emacs)
- (setq tmp (lookup-key global-map (read-kbd-macro (nth 0
fun))))
- (commandp tmp)
- `(quote ,tmp)))
- (ignore-errors
- (and (consp fun)
- (eq 'quote (nth 0 fun))
- (consp (nth 1 fun))
- (stringp (nth 0 (nth 1 fun)))
- (symbolp (nth 1 (nth 1 fun)))
- (eq (nth 1 (nth 1 fun)) :emacs)
- (setq tmp (lookup-key global-map (read-kbd-macro (nth 0
(nth 1 fun)))))
- (commandp tmp)
- `(quote ,tmp)))
- (ignore-errors
- (and (consp fun)
- (stringp (nth 0 fun))
- (symbolp (nth 1 fun))
- `(quote ,fun)))
- fun))))
-
(defvar ergoemacs-theme-component-properties
'(:bind
:bind-keymap
- [elpa] externals/ergoemacs-mode f6aac16 172/325: Remove unused ergoemacs-command-loop, (continued)
- [elpa] externals/ergoemacs-mode f6aac16 172/325: Remove unused ergoemacs-command-loop, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode b6ad133 178/325: Remove M-O-fight test. It fails, but the keys work with manual tests, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6c909f3 185/325: Remove the shutdown hook, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 615ec31 186/325: Really remove the startup and shutdown hooks, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode d475686 187/325: Remove require stuff, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 209e00f 189/325: Fix a test, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode c484389 201/325: Lots of tweaks to the help svg, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7553908 215/325: Remove set-layout, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 3433126 208/325: Move key binding help up and rename it, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 5c39790 227/325: Remove ergoemacs-theme, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode ec39c50 234/325: Remove more ergoemacs-theme-component--parse,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode 91b273c 236/325: Remove ergoemacs-component-struct--define-key, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode b40fd9e 237/325: Remove ergoemacs-map--, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode c4b5f13 170/325: Fix dired problem, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 8856942 169/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 84a66e1 188/325: Remove the need for a theme, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode dde1804 200/325: Remove apps/menu from svg, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode a9f7caf 217/325: Remove major mode stuff, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7ffdf3b 218/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 0a189f3 232/325: Minor cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode bc28407 019/325: Remove icicles tests, Stefan Monnier, 2021/10/23