Skip to content

Commit

Permalink
mail: fix formal pronouns
Browse files Browse the repository at this point in the history
  • Loading branch information
SqrtMinusOne committed Mar 25, 2024
1 parent 81943dc commit f98ba1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .emacs.d/mail.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion Mail.org
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f98ba1d

Please sign in to comment.