[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-numbers 9478e05192 051/145: Fix documentation markup.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-numbers 9478e05192 051/145: Fix documentation markup. Closes #2 |
Date: |
Thu, 6 Jan 2022 03:00:18 -0500 (EST) |
branch: elpa/evil-numbers
commit 9478e05192efbeff79b180267ac02872b8acf829
Author: Jan Path <jan@jpath.de>
Commit: Jan Path <jan@jpath.de>
Fix documentation markup. Closes #2
---
evil-numbers.el | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/evil-numbers.el b/evil-numbers.el
index f7123b3c12..5e557ce435 100644
--- a/evil-numbers.el
+++ b/evil-numbers.el
@@ -102,15 +102,15 @@
;;;###autoload
(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'
+ "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
NO-REGION is internal flag that allows
`evil-numbers/inc-at-point' to be called recursively when
applying the regional features of `evil-numbers/inc-at-point'.
-INCREMENTAL causes the first number to be increased by 1*amount, the second by
-2*amount and so on.
+INCREMENTAL causes the first number to be increased by 1*AMOUNT, the second by
+2*AMOUNT and so on.
PADDED is whether numbers should be padded (e.g. 10 -> 09). nil is default
behaviour set by `evil-numbers/pad-default', t is the opposite of
@@ -227,9 +227,9 @@ number with a + sign.
;;;###autoload
(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'.
+ "Decrement the number at point or after point before end-of-line by AMOUNT.
-If a region is active, decrement all the numbers at a point by `amount'.
+If a region is active, decrement all the numbers at a point by AMOUNT.
This function uses `evil-numbers/inc-at-pt'"
:motion nil
@@ -238,11 +238,11 @@ This function uses `evil-numbers/inc-at-pt'"
;;;###autoload
(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'.
+ "Increment the number at point or after point before end-of-line by AMOUNT.
-If a region is active, increment all the numbers at a point by `amount'*n,
where
-`n' is the index of the number among the numbers in the region, starting at 1.
-That is increment the first number by `amount', the second by 2*`amount', and
so
+If a region is active, increment all the numbers at a point by AMOUNT*n, where
+n is the index of the number among the numbers in the region, starting at 1.
+That is increment the first number by AMOUNT, the second by 2*AMOUNT, and so
on."
:motion nil
(interactive "*<c><R>")
@@ -250,7 +250,7 @@ on."
;;;###autoload
(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'"
+ "Like `evil-numbers/inc-at-pt-incremental' but with negated argument AMOUNT"
:motion nil
(interactive "*<c><R>")
(evil-numbers/inc-at-pt (- (or amount 1)) beg end type 'incemental padded))
@@ -288,7 +288,7 @@ decimal: [0-9]+, e.g. 42 or 23"
(<= 0 (skip-chars-forward "bBoOxX"))))))
(defun evil-numbers/search-and-replace (look-back skip-back search-forward inc
base)
- "When looking back at `LOOK-BACK' skip chars `SKIP-BACK'backwards and
replace number incremented by `INC' in `BASE' and return non-nil."
+ "When looking back at LOOK-BACK skip chars SKIP-BACK backwards and replace
number incremented by INC in BASE and return non-nil."
(when (looking-back look-back)
(skip-chars-backward skip-back)
(search-forward-regexp search-forward)
@@ -300,7 +300,7 @@ decimal: [0-9]+, e.g. 42 or 23"
t))
(defun evil-numbers/format (num width base)
- "Format `NUM' with at least `WIDTH' space in `BASE'"
+ "Format NUM with at least WIDTH space in BASE"
(cond
((= base 2) (evil-numbers/format-binary num width))
((= base 8) (format (format "%%0%do" width) num))
@@ -308,9 +308,9 @@ decimal: [0-9]+, e.g. 42 or 23"
(t "")))
(defun evil-numbers/format-binary (number &optional width fillchar)
- "Format `NUMBER' as binary.
-Fill up to `WIDTH' with `FILLCHAR' (defaults to ?0) if binary
-representation of `NUMBER' is smaller."
+ "Format NUMBER as binary.
+Fill up to WIDTH with FILLCHAR (defaults to ?0) if binary
+representation of NUMBER is smaller."
(let (nums
(fillchar (or fillchar ?0)))
(while (> number 0)
- [nongnu] elpa/evil-numbers db0c5adc68 029/145: Add documentation the increment of region., (continued)
- [nongnu] elpa/evil-numbers db0c5adc68 029/145: Add documentation the increment of region., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers d37c9812a1 024/145: Remove superflous but malicious check., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 649c01ee4a 028/145: deactivate-mark when operating on region, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers ecc51feda6 020/145: Fix glitches., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 8ef07f7883 019/145: Prepare for elpa submission., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers caa4679814 031/145: Merge pull request #3 from mlf176f2/evil-numbers-in-region, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 2543f0bf35 016/145: Fix number search., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers e40b606d92 025/145: Add readme., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 31c7f1ad6d 041/145: Fix wrong handling of region if number of characters changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers ff37f8329b 038/145: Add incremental increase feature to README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 9478e05192 051/145: Fix documentation markup. Closes #2,
ELPA Syncer <=
- [nongnu] elpa/evil-numbers e5dd1e2e31 043/145: Fix changing the number directly behind us, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 4a17780038 053/145: Merge pull request #5 from leungbk/require, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 006da406d1 060/145: Merge pull request #7 from midchildan/fix/hyphens, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 74cd618d02 067/145: Merge pull request #14 from ideasman42/patch-3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers c6ba8e3381 065/145: Merge pull request #13 from ideasman42/patch-2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 37d148f50b 064/145: Merge branch 'master' into patch-2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 3a0c5a8619 075/145: Merge pull request #16 from juliapath/temp-priv-vars, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers cc930fb6c4 079/145: Cleanup: use 'rx' for number search regex, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 819530cefa 095/145: Cleanup: use xdigit for matching hexidecimal, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 1520c24b6b 089/145: Fix padded argument is ignored on non-decimal types, ELPA Syncer, 2022/01/06