summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-12-30 12:26:56 -0600
committerCase Duckworth2021-12-30 12:26:56 -0600
commitce4938b6a5cc45a01dd47c1c1151a41387de144f (patch)
treeb33e52a01a63cd1d2b454b2be279967e3358e9c8
parentLots and lots of changes, oh jeez (diff)
downloademacs-ce4938b6a5cc45a01dd47c1c1151a41387de144f.tar.gz
emacs-ce4938b6a5cc45a01dd47c1c1151a41387de144f.zip
Change `sentence-end-double-space` to nil mostly
When filling, I want it to be t.  So I got to use `dlet` !!!
-rw-r--r--init.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/init.el b/init.el index 1000714..6cfc405 100644 --- a/init.el +++ b/init.el
@@ -25,10 +25,17 @@
25 25
26(setup (:require +emacs) 26(setup (:require +emacs)
27 (:also-load +lisp) 27 (:also-load +lisp)
28 ;; +emacs.el contains super-basic defaults that are basically 28 ;; +emacs.el contains super-basic defaults that are basically necessary for
29 ;; necessary for good functioning. In this block, I add extra 29 ;; good functioning. In this block, I add extra things or more "experimental"
30 ;; things or more "experimental" ones that might not belong in a 30 ;; ones that might not belong in a separate file.
31 ;; separate file. 31 (:option sentence-end-double-space nil) ; I can't believe I'm doing this...
32 ;; Setting `sentence-end-double-space' to nil means that `fill-paragraph'
33 ;; fills single-spaced sentences, which I /don't/ like. This advice will fix
34 ;; that.
35 (define-advice fill-region (:around (fn &rest r))
36 (dlet ((sentence-end-double-space t))
37 (apply fn r)))
38 ;; Bindings
32 (:global "C-x C-k" #'kill-this-buffer 39 (:global "C-x C-k" #'kill-this-buffer
33 "C-x 4 n" #'clone-buffer 40 "C-x 4 n" #'clone-buffer
34 "C-c v" #'visible-mode 41 "C-c v" #'visible-mode