about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-01 19:25:20 -0600
committerCase Duckworth2022-01-01 19:25:20 -0600
commit42b5651e9199cf38941a7a2e56d766edf674e87c (patch)
tree4e2af96c077666c46b49cb20e1512ce7380abb3f
parentChanges of things (diff)
downloademacs-42b5651e9199cf38941a7a2e56d766edf674e87c.tar.gz
emacs-42b5651e9199cf38941a7a2e56d766edf674e87c.zip
Remove options set by `fill-sentence-properly'
-rw-r--r--init.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/init.el b/init.el index f0cef0d..a1e283f 100644 --- a/init.el +++ b/init.el
@@ -26,14 +26,7 @@
26 ;; +emacs.el contains super-basic defaults that are basically necessary for 26 ;; +emacs.el contains super-basic defaults that are basically necessary for
27 ;; good functioning. In this block, I add extra things or more "experimental" 27 ;; good functioning. In this block, I add extra things or more "experimental"
28 ;; ones that might not belong in a separate file. 28 ;; ones that might not belong in a separate file.
29 (:option sentence-end-double-space nil ; I can't believe I'm doing this... 29 (:option truncate-string-ellipsis "~")
30 truncate-string-ellipsis "~")
31 ;; Setting `sentence-end-double-space' to nil means that `fill-paragraph'
32 ;; fills single-spaced sentences, which I /don't/ like. This advice will fix
33 ;; that.
34 (define-advice fill-region (:around (fn &rest r))
35 (dlet ((sentence-end-double-space t))
36 (apply fn r)))
37 ;; Bindings 30 ;; Bindings
38 (:global "C-x C-k" #'kill-current-buffer 31 (:global "C-x C-k" #'kill-current-buffer
39 "C-x 4 n" #'clone-buffer 32 "C-x 4 n" #'clone-buffer