From 42b5651e9199cf38941a7a2e56d766edf674e87c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 1 Jan 2022 19:25:20 -0600 Subject: Remove options set by `fill-sentence-properly' --- init.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/init.el b/init.el index f0cef0d..a1e283f 100644 --- a/init.el +++ b/init.el @@ -26,14 +26,7 @@ ;; +emacs.el contains super-basic defaults that are basically necessary for ;; good functioning. In this block, I add extra things or more "experimental" ;; ones that might not belong in a separate file. - (:option sentence-end-double-space nil ; I can't believe I'm doing this... - truncate-string-ellipsis "~") - ;; Setting `sentence-end-double-space' to nil means that `fill-paragraph' - ;; fills single-spaced sentences, which I /don't/ like. This advice will fix - ;; that. - (define-advice fill-region (:around (fn &rest r)) - (dlet ((sentence-end-double-space t)) - (apply fn r))) + (:option truncate-string-ellipsis "~") ;; Bindings (:global "C-x C-k" #'kill-current-buffer "C-x 4 n" #'clone-buffer -- cgit 1.4.1-21-gabe81