Skip to content

Commit d2bd995

Browse files
committed
* lisp/mail/footnote.el: Avoid regexp-opt-charset, which is not autoloaded.
(footnote-hebrew-numeric-regex): Use rx-to-string instead.
1 parent eb1698c commit d2bd995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/mail/footnote.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Use Unicode characters for footnoting."
348348
(defconst footnote-hebrew-numeric-regex
349349
(let ((numchars (string-to-list
350350
(apply #'concat (apply #'append footnote-hebrew-numeric)))))
351-
(concat (regexp-opt-charset (cons ?' numchars)) "+")))
351+
(rx-to-string `(1+ (in ?' ,@numchars)))))
352352
;; (defconst footnote-hebrew-numeric-regex "\\([אבגדהוזחט]'\\)?\\\\)?\\\\)?\\([קרשת]\\)?\\([טיכלמנסעפצ]\\)?\\([אבגדהוזחט]\\)?")
353353

354354
(defun footnote--hebrew-numeric (n)

0 commit comments

Comments
 (0)