diff options
author | Amin Bandali <bandali@gnu.org> | 2019-11-18 11:21:46 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-11-18 11:21:46 -0500 |
commit | 2bd7f890edc38884131c196e2c0652bb33912d1b (patch) | |
tree | 7c7face351533e572a9351b0e16582e2bbde0765 | |
parent | f099abcb0cdc6726bcea8970d76b80758afbbdc7 (diff) | |
download | configs-2bd7f890edc38884131c196e2c0652bb33912d1b.tar.gz configs-2bd7f890edc38884131c196e2c0652bb33912d1b.tar.xz configs-2bd7f890edc38884131c196e2c0652bb33912d1b.zip |
emacs: experiment with a fill-column of 47 for neat and short lines
-rw-r--r-- | .emacs.d/init.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5e3ce80..4f286c0 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -281,6 +281,9 @@ For disabling the behaviour for certain buffers and/or modes." ;;;; C-level customizations +(defvar b/fill-column 47 + "My custom `fill-column'.") + (setq ;; minibuffer enable-recursive-minibuffers t @@ -301,7 +304,9 @@ For disabling the behaviour for certain buffers and/or modes." scroll-conservatively 10 scroll-preserve-screen-position 1 ;; focus follows mouse - mouse-autoselect-window t) + mouse-autoselect-window t + ;; custom fill-column + fill-column b/fill-column) (setq-default ;; always use space for indentation @@ -2552,8 +2557,8 @@ https://csclub.uwaterloo.ca/~abandali") :hook (;; (message-setup . mml-secure-message-sign-pgpmime) (message-mode . flyspell-mode) (message-mode . (lambda () - ;; (setq fill-column 65 - ;; message-fill-column 65) + (setq-local fill-column b/fill-column + message-fill-column b/fill-column) (make-local-variable 'company-idle-delay) (setq company-idle-delay 0.2)))) ;; :custom-face |