projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d7d28
)
* lisp/emacs-lisp/rx.el (rx--string-to-intervals): Fix error string.
author
Mattias Engdegård
<mattiase@acm.org>
Thu, 5 Mar 2020 11:10:51 +0000
(12:10 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Thu, 5 Mar 2020 11:12:18 +0000
(12:12 +0100)
lisp/emacs-lisp/rx.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/rx.el
b/lisp/emacs-lisp/rx.el
index a0b2444346ab5d6ab69d44461d7162c1c69ea301..d4a9171027353ebe1c396376746a24a90cd20856 100644
(file)
--- a/
lisp/emacs-lisp/rx.el
+++ b/
lisp/emacs-lisp/rx.el
@@
-360,7
+360,7
@@
character X becomes (?X . ?X). Return the intervals in a list."
(push (cons start end) intervals))
(t
(error "Invalid rx `any' range: %s"
- (substring str i
3
))))
+ (substring str i
(+ i 3)
))))
(setq i (+ i 3))))
(t
;; Single character.