projects
/
riece
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Riece: Version 1.0.3 released.
[riece]
/
lisp
/
riece-compat.el
diff --git
a/lisp/riece-compat.el
b/lisp/riece-compat.el
index
25d544e
..
2bc6469
100644
(file)
--- a/
lisp/riece-compat.el
+++ b/
lisp/riece-compat.el
@@
-62,8
+62,8
@@
(if (string-match "0\\{0\\}" "")
(defun riece-make-interval-regexp (regexp min &optional max)
(if max
(if (string-match "0\\{0\\}" "")
(defun riece-make-interval-regexp (regexp min &optional max)
(if max
- (
concat regexp (format "\\{%d,%d\\}" min max)
)
- (
concat regexp (format "\\{%d\\}" min)
)))
+ (
format "%s\\{%d,%d\\}" regexp min max
)
+ (
format "%s\\{%d\\}" regexp min
)))
;; Emacs 20.7 doesn't support \{...\} in regexps.
(defun riece-make-interval-regexp (regexp min &optional max)
(mapconcat #'identity
;; Emacs 20.7 doesn't support \{...\} in regexps.
(defun riece-make-interval-regexp (regexp min &optional max)
(mapconcat #'identity