diff options
author | JSDurand <mmemmew@gmail.com> | 2021-07-21 01:04:58 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-07-21 01:04:58 +0800 |
commit | c15ef3011e70b6981e16715bbaf82b7dc147e27a (patch) | |
tree | e6a6b465a5761a5c8ea9bd35055aa4ffde751fbc | |
parent | 81df7d1780c7bfd76b72b1c4d3221e043c5df73a (diff) |
new: gnus treat article
gnus-conf.el (gnus-treat-repunctuate): Ensure that sentences end with
double spaces.
(gnus-part-display-hook): add the function to the hook.
-rw-r--r-- | gnus-conf.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnus-conf.el b/gnus-conf.el index 3775081..bbbd17a 100644 --- a/gnus-conf.el +++ b/gnus-conf.el @@ -15,6 +15,18 @@ ;; (nnimap-server-port 143)) )) +;; repunctuate sentences + +(add-hook 'gnus-part-display-hook 'gnus-treat-repunctuate) + +;;;###autoload +(defun gnus-treat-repunctuate () + "Do a quick repunctuation." + (interactive) + (save-excursion + (goto-char (point-min)) + (repunctuate-sentences t))) + ;; To be able to see the encrypted mails sent by me. (setq mml-secure-openpgp-encrypt-to-self t) |