[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tempel 16b0fa274a 09/82: Rename commands
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tempel 16b0fa274a 09/82: Rename commands |
Date: |
Sun, 9 Jan 2022 20:58:41 -0500 (EST) |
branch: externals/tempel
commit 16b0fa274a96664dfc7450d2b888fea257dc3c6d
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Rename commands
---
tempel.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tempel.el b/tempel.el
index ac147ee7b1..a45d4ee737 100644
--- a/tempel.el
+++ b/tempel.el
@@ -47,8 +47,8 @@
(defvar tempel-map
(let ((map (make-sparse-keymap)))
- (define-key map [M-right] #'tempel-next-field)
- (define-key map [M-left] #'tempel-previous-field)
+ (define-key map [M-right] #'tempel-next)
+ (define-key map [M-left] #'tempel-previous)
map)
"Keymap to navigate across template markers.")
@@ -195,7 +195,7 @@ BEG and END are the boundaries of the modification."
(push (make-overlay (point) (point)) tempel--overlays))
(setq tempel--overlays (sort tempel--overlays (lambda (x y) (<
(overlay-start x) (overlay-start y)))))
;; Jump to first field
- (tempel-next-field 1)))
+ (tempel-next 1)))
(defun tempel--save ()
"Save template file buffer."
@@ -219,7 +219,7 @@ BEG and END are the boundaries of the modification."
(deactivate-mark)
(cons (point-marker) (mark-marker))))
-(defun tempel-next-field (arg)
+(defun tempel-next (arg)
"Move ARG fields forward and quit at the end."
(interactive "p")
(catch 'tempel--break
@@ -238,10 +238,10 @@ BEG and END are the boundaries of the modification."
(throw 'tempel--break nil))))))
(tempel-done)))
-(defun tempel-previous-field (arg)
+(defun tempel-previous (arg)
"Move ARG fields backward and quit at the beginning."
(interactive "p")
- (tempel-next-field (- arg)))
+ (tempel-next (- arg)))
(defun tempel-done ()
"Template completion is done."
- [elpa] externals/tempel 11301795d8 51/82: Fix commentary, (continued)
- [elpa] externals/tempel 11301795d8 51/82: Fix commentary, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 3aa1a7fca8 01/82: Initial commit, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel e4839df533 53/82: Add temple-key, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 4a6fc2d0ab 46/82: Fix customization type, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 0aa4e8c37f 63/82: Only erase default value if the point is at the beginning or end, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel def7a1ca3f 07/82: README: Update links, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 311f310b82 72/82: Remove todo, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 9cf5cc35b3 16/82: Use insert-file-contents, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel db24ec0c9e 22/82: Reevaluate forms when arbitrary fields are modified, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 09a0e3bfb0 19/82: Improve annotations, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 16b0fa274a 09/82: Rename commands,
ELPA Syncer <=
- [elpa] externals/tempel 73cee5feb6 12/82: Update comments, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel b54036f1fa 21/82: Add comment, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 11cfbe239d 36/82: Fix undo, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel ffdf2c792a 77/82: Document the abbrev modes (See #14), ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 460f8fe806 81/82: Fix the MELPA issues, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel aec4f10253 82/82: Addition to GNU ELPA, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel d4bd649645 59/82: Minor renaming, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 2cff879181 30/82: Do not call modification hooks from forms, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 1222c59b30 39/82: Update README, ELPA Syncer, 2022/01/09
- [elpa] externals/tempel 07d16fded7 67/82: Update fields when new field is inserted, ELPA Syncer, 2022/01/09