aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-11-04 13:26:24 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-03-15 12:20:15 +0100
commit3d5adb5684816b0b83255e9f488fb93325fa5b2e (patch)
treef2724941206765e2448425cb238b02f56f20df10
parent3e58771818f28539720360a0528bb4ac4c83e565 (diff)
feat: Remove unnecessary rx constructs
-rw-r--r--nyxt.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/nyxt.el b/nyxt.el
index 40e1529..a270ee1 100644
--- a/nyxt.el
+++ b/nyxt.el
@@ -86,7 +86,7 @@
(defun nyxt--system-process-p ()
"Return non-nil if the Nyxt system process is currently running."
(cl-some (lambda (pid)
- (string-match (rx (: (* any) "nyxt" (* any)))
+ (string-match (rx (* any) "nyxt" (* any))
(assoc-default 'comm (process-attributes pid))))
(list-system-processes)))
@@ -143,7 +143,7 @@ might require some delay to be correctly loaded."
(goto-char (point-max))
(forward-line 0)
(cond
- ((string-match (rx (: (+ any) "Slynk server started at port")) output)
+ ((string-match (rx (+ any) "Slynk server started at port") output)
(run-at-time autostart-delay nil
(lambda ()
(while (or (not (sly-connected-p))
@@ -153,7 +153,7 @@ might require some delay to be correctly loaded."
(sleep-for 0.1))
(and focus (nyxt-exwm-focus-window))
(nyxt-sly-eval sexps))))
- ((or (string-match (rx (: (+ any) "Deleting socket")) output)
+ ((or (string-match (rx (+ any) "Deleting socket") output)
(/= (process-exit-status process) 0))
(setq nyxt-process nil)))))))
((or (nyxt--system-process-p)