; * lisp/mail/footnote.el (footnote-hebrew-numeric-regex): dedup rx
This is a cosmetic change that silences a new Relint complaint; the resulting regexp remains unchanged.
This commit is contained in:
parent
5f1c0d1c44
commit
46983d211f
1 changed files with 4 additions and 3 deletions
|
@ -347,10 +347,11 @@ Use Unicode characters for footnoting."
|
|||
("ק" "ר" "ש" "ת" "תק" "תר" "תש" "תת" "תתק")))
|
||||
|
||||
(defconst footnote-hebrew-numeric-regex
|
||||
(let ((numchars (string-to-list
|
||||
(apply #'concat (apply #'append footnote-hebrew-numeric)))))
|
||||
(let ((numchars
|
||||
(delete-dups
|
||||
(string-to-list
|
||||
(apply #'concat (apply #'append footnote-hebrew-numeric))))))
|
||||
(rx-to-string `(1+ (in ?' ,@numchars)))))
|
||||
;; (defconst footnote-hebrew-numeric-regex "\\([אבגדהוזחט]'\\)?\\(ת\\)?\\(ת\\)?\\([קרשת]\\)?\\([טיכלמנסעפצ]\\)?\\([אבגדהוזחט]\\)?")
|
||||
|
||||
(defun footnote--hebrew-numeric (n)
|
||||
"Supports 9999 footnotes, then rolls over."
|
||||
|
|
Loading…
Add table
Reference in a new issue