[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-numbers d37c9812a1 024/145: Remove superflous but mal
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-numbers d37c9812a1 024/145: Remove superflous but malicious check. |
Date: |
Thu, 6 Jan 2022 03:00:15 -0500 (EST) |
branch: elpa/evil-numbers
commit d37c9812a19896d78d6630b299514bfa8792dac7
Author: Michael Markert <markert.michael@googlemail.com>
Commit: Michael Markert <markert.michael@googlemail.com>
Remove superflous but malicious check.
Fixes bug #2.
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
---
evil-numbers.el | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/evil-numbers.el b/evil-numbers.el
index 2a4f716bf1..fabf853184 100644
--- a/evil-numbers.el
+++ b/evil-numbers.el
@@ -103,13 +103,10 @@ hexadecimal 0[xX][0-9a-fA-F]+, e.g. 0xBEEF or 0Xcafe
decimal: [0-9]+, e.g. 42 or 23"
(or
;; numbers or format specifier in front
- (and
- (looking-back (rx (or (+? digit)
- (and "0" (or (and (in "bB") (*? (in "01")))
- (and (in "oO") (*? (in "0-7")))
- (and (in "xX") (*? (in digit
"A-Fa-f"))))))))
- ;; being on a specifier is handled in progn
- (not (looking-at "[bBoOxX]")))
+ (looking-back (rx (or (+? digit)
+ (and "0" (or (and (in "bB") (*? (in "01")))
+ (and (in "oO") (*? (in "0-7")))
+ (and (in "xX") (*? (in digit "A-Fa-f"))))))))
;; search for number in rest of line
;; match 0 of specifier or digit, being in a literal and after specifier is
;; handled above
- [nongnu] elpa/evil-numbers 6ea1c8c3a9 036/145: Use list for contributers., (continued)
- [nongnu] elpa/evil-numbers 6ea1c8c3a9 036/145: Use list for contributers., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers a2ce896e05 049/145: Update documentation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers ac4101f0e4 052/145: Explicitly require evil., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 4fd2d402fe 050/145: Add CHANGELOG, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 8b59acf267 059/145: fix: handle hyphen-separated numbers correctly, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers e0f4ba3d13 004/145: Fix number search., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 221ceb6177 001/145: Initial commit., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 7e7e2e42f3 005/145: Remove "support" for negative non-decimal literals., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-numbers 4466368c6d 008/145: Adjust error messages., ELPA Syncer, 2022/01/06
- [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 <=
- [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, 2022/01/06
- [nongnu] elpa/evil-numbers e5dd1e2e31 043/145: Fix changing the number directly behind us, ELPA Syncer, 2022/01/06