[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-numbers fb16206158 054/145: Fix autoloading
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-numbers fb16206158 054/145: Fix autoloading |
Date: |
Thu, 6 Jan 2022 03:00:18 -0500 (EST) |
branch: elpa/evil-numbers
commit fb16206158142190ae41942edf5dc9e882668be6
Author: Jan Path <jan@jpath.de>
Commit: Jan Path <jan@jpath.de>
Fix autoloading
The magic autoload comment only works automatically for defun and the like.
For
macros such as evil-define-operator it will copy over the whole definition
resulting in errors due to other parts of the file not being loaded.
---
evil-numbers.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/evil-numbers.el b/evil-numbers.el
index bdfd825f4d..7fe9362dcf 100644
--- a/evil-numbers.el
+++ b/evil-numbers.el
@@ -87,6 +87,7 @@
(aref "₀₁₂₃₄₅₆₇₈₉" i)))
(number-sequence 0 9)))))
+;;;###autoload
(defcustom evil-numbers/padDefault nil
"Whether numbers are padded by default"
:type 'boolean
@@ -102,7 +103,7 @@
(if (stringp string) #'concat (lambda (x) x))
(mapcar (lambda (c) (cdr (assoc c alist))) string)))
-;;;###autoload
+;;;###autoload (autoload 'evil-numbers/inc-at-pt "evil-numbers")
(evil-define-operator evil-numbers/inc-at-pt (amount beg end type &optional
incremental padded)
"Increment the number at point or after point before end-of-line by AMOUNT.
When region is selected, increment all numbers in the region by AMOUNT
@@ -227,7 +228,7 @@ number with a + sign.
(funcall replace-with (lambda (x) x) (lambda (x) x))
(error "No number at point or until end of line")))))))))
-;;;###autoload
+;;;###autoload (autoload 'evil-numbers/dec-at-pt "evil-numbers")
(evil-define-operator evil-numbers/dec-at-pt (amount beg end type &optional
incremental padded)
"Decrement the number at point or after point before end-of-line by AMOUNT.
@@ -238,7 +239,7 @@ This function uses `evil-numbers/inc-at-pt'"
(interactive "*<c><R>")
(evil-numbers/inc-at-pt (- (or amount 1)) beg end type incremental padded))
-;;;###autoload
+;;;###autoload (autoload 'evil-numbers/inc-at-pt-incremental "evil-numbers")
(evil-define-operator evil-numbers/inc-at-pt-incremental (amount beg end type
padded)
"Increment the number at point or after point before end-of-line by AMOUNT.
@@ -250,7 +251,7 @@ on."
(interactive "*<c><R>")
(evil-numbers/inc-at-pt amount beg end type 'incremental padded))
-;;;###autoload
+;;;###autoload (autoload 'evil-numbers/dec-at-pt-incremental "evil-numbers")
(evil-define-operator evil-numbers/dec-at-pt-incremental (amount beg end type
padded)
"Like `evil-numbers/inc-at-pt-incremental' but with negated argument AMOUNT"
:motion nil
- [nongnu] elpa/evil-numbers b1ba250f98 078/145: Cleanup: reduce right shift, (continued)
- [nongnu] elpa/evil-numbers b1ba250f98 078/145: Cleanup: reduce right shift, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 027f8d586c 080/145: Fix #18 operating on bin/hex/octal failed w/ the cursor at the start, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 7ca411f4ac 100/145: CHANGELOG: use fullstops, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 8403eeb125 097/145: Correct oversight in 299e0418caa43cb7c15dd21d2dd40b75b147990f, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers af088b7107 107/145: Cleanup: < 80 chars, reduce right shift, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 407d62222e 126/145: Add separator character support (issue #23), ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers d5c40d2bd1 118/145: Cleanup: docstring line wrapping, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 0ddb39d98e 027/145: Stray paren fix, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 780db06056 018/145: Tag version 0.2., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers b754f53c82 039/145: support for increasing superscripts, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers fb16206158 054/145: Fix autoloading,
ELPA Syncer <=
- [nongnu] elpa/evil-numbers 4308935a03 061/145: Resolve looking-back warnings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers aa94cd1b26 063/145: Merge pull request #11 from ideasman42/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 5356111930 077/145: Cleanup: avoid let binding to set default values for arguments, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers b54cc5ba35 076/145: Fix spelling, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers c37a4cf92a 092/145: Fix padding being ignored with block selection, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers e8dfba58c9 081/145: Cleanup: split skip characters matching out into a function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 7602f3b484 101/145: Cleanup: split number incrementing into it's own function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 3fe56219af 091/145: Cleanup: docstring, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers b2397f278a 094/145: Cleanup: move forward character check in evil-numbers--search-number, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 6093a5e039 085/145: Cleanup: use identity functions, ELPA Syncer, 2022/01/06