[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-numbers a75c4b0a24 071/145: Cleanup: replace tabs wit
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-numbers a75c4b0a24 071/145: Cleanup: replace tabs with spaces |
Date: |
Thu, 6 Jan 2022 03:00:19 -0500 (EST) |
branch: elpa/evil-numbers
commit a75c4b0a24b57079bf711a36038a199d6c6ebf83
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: replace tabs with spaces
Tabs were used inconsistently in a few places.
---
evil-numbers.el | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/evil-numbers.el b/evil-numbers.el
index 1bdec75dee..c6e984cc09 100644
--- a/evil-numbers.el
+++ b/evil-numbers.el
@@ -283,14 +283,14 @@ decimal: [0-9]+, e.g. 42 or 23"
;; Search for number in rest of line match 0 of specifier or digit,
;; being in a literal and after specifier is handled above.
(and
- (re-search-forward "[[:digit:]⁰¹²³⁴⁵⁶⁷⁸⁹₀₁₂₃₄₅₆₇₈₉]" (point-at-eol) t)
- (or
- (not (memq (char-after) '(?b ?B ?o ?O ?x ?X)))
- (/= (char-before) ?0)
- (and (> (point) 2) ; Should also take bofp
into consideration.
- (not (looking-back "\\W0" 2)))
- ;; Skip format specifiers and interpret as boolean.
- (<= 0 (skip-chars-forward "bBoOxX"))))))
+ (re-search-forward "[[:digit:]⁰¹²³⁴⁵⁶⁷⁸⁹₀₁₂₃₄₅₆₇₈₉]" (point-at-eol) t)
+ (or
+ (not (memq (char-after) '(?b ?B ?o ?O ?x ?X)))
+ (/= (char-before) ?0)
+ (and (> (point) 2) ;; Should also take bofp into consideration.
+ (not (looking-back "\\W0" 2)))
+ ;; Skip format specifiers and interpret as boolean.
+ (<= 0 (skip-chars-forward "bBoOxX"))))))
(defun evil-numbers/search-and-replace (look-back skip-back search-forward inc
base)
"Perform the increment/decrement on the current line.
@@ -304,8 +304,8 @@ and return non-nil."
(replace-match (evil-numbers/format (+ inc (string-to-number (match-string
1) base))
(if evil-numbers/padDefault (length
(match-string 1)) 1)
base))
- ;; Moves point one position back to conform with VIM.
- (forward-char -1)
+ ;; Moves point one position back to conform with VIM.
+ (forward-char -1)
t))
(defun evil-numbers/format (num width base)
- [nongnu] elpa/evil-numbers b711ef787e 035/145: Document keypad binding variants., (continued)
- [nongnu] elpa/evil-numbers b711ef787e 035/145: Document keypad binding variants., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers cbbfd83c79 044/145: Merge https://github.com/unhammer/evil-numbers, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers ebfb368851 055/145: Create evil-numbers customisation group, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers d1b1f503a5 057/145: Autoload operators as interactive commands, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers d988041c1f 056/145: List myself as maintainer, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers c2cfdd1eb1 058/145: Merge pull request #6 from hlissner/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 02de70f481 062/145: Quiet checkdoc warnings, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 6fa8e02e3b 073/145: Cleanup: avoid right shift, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 963e78cb44 069/145: Change repo URLs in Readme too, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 26ec2d4a52 066/145: Use lexical binding, remove unused function 'pad', ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers a75c4b0a24 071/145: Cleanup: replace tabs with spaces,
ELPA Syncer <=
- [nongnu] elpa/evil-numbers 626ea72a21 084/145: Cleanup: add missing argument to doc-string, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 15dcea1be0 087/145: Fix #20 The cursor moves when increment/decrement fails, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 5622da311d 070/145: Cleanup: spelling, use full sentences, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers ab6d436454 074/145: Cleanup: use '--' separator for private functions, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers ff3bcf4efd 068/145: Change repo URLs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 6483ab668b 103/145: Cleanup: use '?' instead of '*' for matching sign, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 43036127c1 105/145: Cleanup: line length < 80, spelling, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 0bbf3a8161 109/145: Cleanup: store unicode subscript/superscript in constants, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers d09a0e676a 125/145: Fix #25 increment steps to the next line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 08f0c1ee93 145/145: Cleanup: warnings for tests, ELPA Syncer, 2022/01/06