prog-mode hook stuff.

This commit is contained in:
Ivan Malison 2014-10-21 16:38:07 -07:00
parent 3a01d4be1d
commit 25fdc1234b
2 changed files with 4 additions and 4 deletions

3
.gitignore vendored
View File

@ -15,4 +15,5 @@ elpa/*
.python-environments/
tramp
server
.project-roots
.project-roots
elpa/find-file-in-project-3.4

View File

@ -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))
(add-hook 'html-mode-hook 'no-auto-fill-hook)
(add-hook 'text-mode-hook 'no-auto-fill-hook)
(add-hook 'python-mode-hook 'no-auto-fill-hook)
(add-hook 'prog-mode-hook 'no-auto-fill-hook)
(remove-hook 'text-mode-hook #'turn-on-auto-fill)
(setq flyspell-issue-welcome-flag nil)
(add-hook 'after-init-hook