summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-06-05 21:21:53 +0800
committerJSDurand <mmemmew@gmail.com>2021-06-05 21:21:53 +0800
commit05de50f4f1e1aa0124682fc81b1819a6e973b4ff (patch)
tree55ac7aa36caf4c57c702045be2fb69ec38a50bc0
parenta94926fb2f18431faf38b21432d3b93c9d2a1d1d (diff)
basic: sentence-end-double-space
* basic.el (sentence-end-double-space): Two spaces after the end of sentences can distinguish between the end of a sentence and words that end with a period, such as abbreviations. So I prefer to put two spaces after the end of sentences now.
-rw-r--r--basic.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/basic.el b/basic.el
index 1a3289c..832b399 100644
--- a/basic.el
+++ b/basic.el
@@ -10,6 +10,11 @@
(setq save-interprogram-paste-before-kill t)
+;;; Two spaces after the end of sentences mark the boundaries of
+;;; sentences clearer.
+
+(setq sentence-end-double-space t)
+
;;; Setting the direction of the text can speed things up.
(set-default 'bidi-paragraph-direction 'left-to-right)