mail: fix formal pronouns

This commit is contained in:
Pavel Korytov 2024-03-25 21:38:51 +03:00
parent 81943dce33
commit f98ba1d3fd
2 changed files with 4 additions and 2 deletions

View file

@ -119,7 +119,8 @@
"вашей" "вашему" "вашим" "вашем" "вашеми"))
(defvar my/ru-formal-pronous-regex
(regexp-opt my/ru-formal-pronous 'words))
(regexp-opt
(mapcar (lambda (p) (format " %s " p)) my/ru-formal-pronous) 'words))
(defun my/message-ensure-capitalized-formal-pronouns ()
(interactive)

View file

@ -583,7 +583,8 @@ Then advice the =notmuch-mua-reply= function:
"вашей" "вашему" "вашим" "вашем" "вашеми"))
(defvar my/ru-formal-pronous-regex
(regexp-opt my/ru-formal-pronous 'words))
(regexp-opt
(mapcar (lambda (p) (format " %s " p)) my/ru-formal-pronous) 'words))
(defun my/message-ensure-capitalized-formal-pronouns ()
(interactive)