Support global auto-fill-mode
It appears that (auto-fill-mode 1) may be buffer-local. Adding a hook to fundamental-mode to ensure auto-fill-mode is enabled for most buffers. Stay tuned, because this may need to be setup for prog-mode-hook as well. Or neither... we'll see what works.
This commit is contained in:
parent
29e19725ac
commit
a810a74771
1 changed files with 1 additions and 4 deletions
|
@ -17,14 +17,11 @@
|
|||
"s-v" #'x-clipboard-yank
|
||||
"C-S-v" #'x-clipboard-yank)
|
||||
|
||||
;; start emacs server so `emacsclient' can work
|
||||
(server-start)
|
||||
|
||||
;; transparently edit compressed files
|
||||
(auto-compression-mode t)
|
||||
|
||||
;; autowrap when over the fill-column
|
||||
(auto-fill-mode 1)
|
||||
(add-hook 'fundamental-mode-hook 'turn-on-auto-fill)
|
||||
|
||||
;; link to Emacs source code
|
||||
(setq find-function-C-source-directory "~/programming/emacs/src")
|
||||
|
|
Loading…
Reference in a new issue