diff --git a/.gitignore b/.gitignore index f681a285..dffdf6c8 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ elpa/* .python-environments/ tramp server -.project-roots \ No newline at end of file +.project-roots +elpa/find-file-in-project-3.4 \ No newline at end of file diff --git a/init.el b/init.el index 355d474d..137fb67a 100644 --- a/init.el +++ b/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)) -(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