summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnus-conf.el12
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)