summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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