[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult-hoogle 57204c6324 6/7: Remove unneeded form fro
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult-hoogle 57204c6324 6/7: Remove unneeded form from regexp |
Date: |
Mon, 5 Feb 2024 18:57:36 -0500 (EST) |
branch: externals/consult-hoogle
commit 57204c6324118a46d98ec73b542bf24bd19a7862
Author: Rahguzar <rahguzar@zohomail.eu>
Commit: Rahguzar <rahguzar@zohomail.eu>
Remove unneeded form from regexp
From Philip Kaludercic's review
---
consult-hoogle.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/consult-hoogle.el b/consult-hoogle.el
index c9e289f959..ed08981388 100644
--- a/consult-hoogle.el
+++ b/consult-hoogle.el
@@ -346,11 +346,10 @@ With positive prefix ARG only clear restrictions. With
negative prefix
only clear exclusions."
(interactive (list (when current-prefix-arg
(prefix-numeric-value current-prefix-arg))))
- (let* ((restriction-rx (rx-to-string `(: ,(if (not arg)
- '(or "+" "-")
- (if (> arg 0) "+" "-"))
- (0+ (not space))
- (or (1+ space) eos)))))
+ (let ((restriction-rx (rx-to-string `(: ,(if (not arg)
+ '(or "+" "-")
+ (if (> arg 0) "+" "-"))
+ (0+ (not space))))))
(consult-hoogle--modify-async-input
(lambda (match) (replace-regexp-in-string restriction-rx "" match)))))
- [elpa] externals/consult-hoogle updated (cc4ed71724 -> a4bde80ebd), ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 8fde70225e 1/7: Copyright + file is part of Emacs, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle cdd73b2ebb 2/7: Add gitignore, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 57204c6324 6/7: Remove unneeded form from regexp,
ELPA Syncer <=
- [elpa] externals/consult-hoogle 26c9455b21 3/7: Add elpaignore files for png images, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 86bfb4269f 4/7: Define the group for customization options, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 368efca2ce 5/7: Don't use vertico-count for window height, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle a4bde80ebd 7/7: Cosmetic changes, ELPA Syncer, 2024/02/05