[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 27e8a09 167/325: Remove more macros
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode 27e8a09 167/325: Remove more macros |
Date: |
Sat, 23 Oct 2021 18:48:45 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit 27e8a0935b226e4b81375e147c21400951b98d91
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Remove more macros
---
ergoemacs-functions.el | 42 +++++++++++++++---------------------------
1 file changed, 15 insertions(+), 27 deletions(-)
diff --git a/ergoemacs-functions.el b/ergoemacs-functions.el
index 86b1769..bdc6cb4 100644
--- a/ergoemacs-functions.el
+++ b/ergoemacs-functions.el
@@ -406,7 +406,7 @@ Pass prefix ARG to the respective copy functions."
(kill-ring-save
(save-excursion
(let ((pt (point)))
- (move-beginning-of-line)
+ (call-interactively 'move-beginning-of-line)
(when (= pt (point))
(call-interactively 'move-beginning-of-line)))
(when (not (bolp))
@@ -414,7 +414,7 @@ Pass prefix ARG to the respective copy functions."
(point))
(save-excursion
(let ((pt (point)))
- (move-end-of-line)
+ (call-interactively 'move-end-of-line)
(when (= pt (point))
(call-interactively 'move-end-of-line)))
(re-search-forward "\\=\n" nil t) ;; Include newline
@@ -456,7 +456,7 @@ The ARG is passed to the respective function for any
prefixes."
(t
(ignore-errors
(let ((pt (point)))
- (move-beginning-of-line)
+ (call-interactively 'move-beginning-of-line)
(when (= pt (point))
(call-interactively 'move-beginning-of-line))))
(when (not (bolp))
@@ -699,14 +699,12 @@ This will not honor `shift-select-mode'."
(cond
((and ergoemacs-repeatable-beginning-or-end-of-buffer (eobp))
(let ((pt (point)))
- (ergoemacs :remap
- 'beginning-of-buffer)
+ (beginning-of-buffer)
(when (= pt (point))
(call-interactively 'beginning-of-buffer))))
(t
(let ((pt (point)))
- (ergoemacs :remap
- 'end-of-buffer)
+ (end-of-buffer)
(when (= pt (point))
(call-interactively 'end-of-buffer))))))
(when (and (not ma) (region-active-p))
@@ -823,8 +821,7 @@ the prefix arguments of `beginning-of-buffer',
(cond
((eq ergoemacs-beginning-or-end-of-line-and-what 'buffer)
(let ((pt (point)))
- (ergoemacs :remap
- 'beginning-of-buffer)
+ (beginning-of-buffer)
(when (= pt (point))
(call-interactively 'beginning-of-buffer)))
(setq this-command 'beginning-of-buffer))
@@ -833,8 +830,7 @@ the prefix arguments of `beginning-of-buffer',
(setq this-command 'ergoemacs-backward-block))
((eq ergoemacs-beginning-or-end-of-line-and-what 'page)
(let ((pt (point)))
- (ergoemacs :remap
- 'scroll-down-command)
+ (scroll-down-command)
(when (= pt (point))
(call-interactively 'scroll-down-command)))
(setq this-command 'scroll-down-command)))
@@ -849,16 +845,14 @@ the prefix arguments of `beginning-of-buffer',
;; (setq prefix-arg nil)
(setq current-prefix-arg nil)
(let ((pt (point)))
- (ergoemacs :remap
- 'move-beginning-of-line)
+ (call-interactively 'move-beginning-of-line)
(when (= pt (point))
(call-interactively 'move-beginning-of-line)))
(push (point) pts)
(when (and (not (bolp)) (not (bobp)))
(backward-char 1)
(let ((pt (point)))
- (ergoemacs :remap
- 'move-beginning-of-line)
+ (call-interactively 'move-beginning-of-line)
(when (= pt (point))
(call-interactively 'move-beginning-of-line)))
(push (point) pts)))
@@ -882,8 +876,7 @@ the prefix arguments of `beginning-of-buffer',
(cond
((not pts)
(let ((pt (point)))
- (ergoemacs :remap
- 'move-beginning-of-line)
+ (call-interactively 'move-beginning-of-line)
(when (= pt (point))
(call-interactively 'move-beginning-of-line))))
(t
@@ -978,8 +971,7 @@ the prefix arguments of `end-of-buffer',
(cond
((eq ergoemacs-beginning-or-end-of-line-and-what 'buffer)
(let ((pt (point)))
- (ergoemacs :remap
- 'end-of-buffer)
+ (end-of-buffer)
(when (= pt (point))
(call-interactively 'end-of-buffer)))
(setq this-command 'end-of-buffer))
@@ -988,8 +980,7 @@ the prefix arguments of `end-of-buffer',
(setq this-command 'ergoemacs-forward-block))
((eq ergoemacs-beginning-or-end-of-line-and-what 'page)
(let ((pt (point)))
- (ergoemacs :remap
- 'scroll-up-command)
+ (scroll-up-command)
(when (= pt (point))
(call-interactively 'scroll-up-command)))
(setq this-command 'scroll-up-command)
@@ -1005,8 +996,7 @@ the prefix arguments of `end-of-buffer',
(push (point) pts))
(save-excursion
(let ((pt (point)))
- (ergoemacs :remap
- 'move-end-of-line)
+ (call-interactively 'move-end-of-line)
(when (= pt (point))
(call-interactively 'move-end-of-line)))
(push (point) pts)
@@ -1015,8 +1005,7 @@ the prefix arguments of `end-of-buffer',
(when (and (not (eolp)) (not (eobp)))
(forward-char 1)
(let ((pt (point)))
- (ergoemacs :remap
- 'move-end-of-line)
+ (call-interactively 'move-end-of-line)
(when (= pt (point))
(call-interactively 'move-end-of-line)))
(push (point) pts)))
@@ -1037,8 +1026,7 @@ the prefix arguments of `end-of-buffer',
(cond
((not pts)
(let ((pt (point)))
- (ergoemacs :remap
- 'move-end-of-line)
+ (call-interactively 'move-end-of-line)
(when (= pt (point))
(call-interactively 'move-end-of-line)))
(setq this-command 'move-end-of-line))
- [elpa] externals/ergoemacs-mode 1c84bf1 090/325: Reindent, (continued)
- [elpa] externals/ergoemacs-mode 1c84bf1 090/325: Reindent, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode b928611 071/325: Remove keyfreq, Stefan Monnier, 2021/10/23
- [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 <=
- [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