forked from colonelpanic/dotfiles
prog-mode hook stuff.
This commit is contained in:
parent
3a01d4be1d
commit
25fdc1234b
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ elpa/*
|
|||||||
tramp
|
tramp
|
||||||
server
|
server
|
||||||
.project-roots
|
.project-roots
|
||||||
|
elpa/find-file-in-project-3.4
|
5
init.el
5
init.el
@ -121,11 +121,10 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
|
|
||||||
(defun no-auto-fill-hook () (auto-fill-mode -1))
|
(defun no-auto-fill-hook () (auto-fill-mode -1))
|
||||||
|
|
||||||
(add-hook 'html-mode-hook 'no-auto-fill-hook)
|
(add-hook 'prog-mode-hook 'no-auto-fill-hook)
|
||||||
(add-hook 'text-mode-hook 'no-auto-fill-hook)
|
|
||||||
(add-hook 'python-mode-hook 'no-auto-fill-hook)
|
|
||||||
(remove-hook 'text-mode-hook #'turn-on-auto-fill)
|
(remove-hook 'text-mode-hook #'turn-on-auto-fill)
|
||||||
|
|
||||||
|
|
||||||
(setq flyspell-issue-welcome-flag nil)
|
(setq flyspell-issue-welcome-flag nil)
|
||||||
|
|
||||||
(add-hook 'after-init-hook
|
(add-hook 'after-init-hook
|
||||||
|
Loading…
Reference in New Issue
Block a user