branch: elpa/parseclj
commit 01608b7537a8de710170940b2fcce5ebe0e5dea6
Author: Arne Brasseur <[email protected]>
Commit: Arne Brasseur <[email protected]>
Seriously thinking of sticking to Emacs 25. This is getting ridiculous.
---
clj-parse.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clj-parse.el b/clj-parse.el
index cc70aeadd0..90bd181202 100644
--- a/clj-parse.el
+++ b/clj-parse.el
@@ -77,7 +77,7 @@
(defun clj-lex-number ()
(let* ((pos (point)))
(while (and (char-after (point))
- (or (<= ?0 (char-after (point)) ?9)
+ (or (and (<= ?0 (char-after (point))) (<= (char-after (point))
?9))
(eq (char-after (point)) ?.)
(eq (char-after (point)) ?M)
(eq (char-after (point)) ?r)))
@@ -110,7 +110,7 @@
(right-char)
`((type . :rparen) (pos . ,pos)))
- ((<= ?0 char ?9)
+ ((and (<= ?0 char) (<= char ?9))
(clj-lex-number))
":("))))