[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d1a2e78 3/3: ; Very minor simplification in bytecomp.el
From: |
Stefan Kangas |
Subject: |
master d1a2e78 3/3: ; Very minor simplification in bytecomp.el |
Date: |
Mon, 22 Nov 2021 06:04:46 -0500 (EST) |
branch: master
commit d1a2e78b8cab54c0d6d0f3c208b24f59545ffbb3
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
; Very minor simplification in bytecomp.el
* lisp/emacs-lisp/bytecomp.el (byte-compile--wide-docstring-p):
Very minor simplification of 'rx' form.
---
lisp/emacs-lisp/bytecomp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index bd74c79..e1c7ab4 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1672,7 +1672,7 @@ URLs."
;; known at compile time. So instead, we assume that these
;; substitutions are of some length N.
(replace-regexp-in-string
- (rx "\\" (or (seq "[" (* (not "]")) "]")))
+ (rx "\\" (seq "[" (* (not "]")) "]"))
(make-string byte-compile--wide-docstring-substitution-len ?x)
;; For literal key sequence substitutions (e.g. "\\`C-h'"), just
;; remove the markup as `substitute-command-keys' would.