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

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ elpa/*
tramp tramp
server 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)) (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