forked from colonelpanic/dotfiles
add hook to remove auto fill from python mode.
This commit is contained in:
parent
6b66ec5a6a
commit
f60b39bb4e
3
init.el
3
init.el
@ -110,6 +110,7 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
|
|
||||||
(add-hook 'html-mode-hook 'no-auto-fill-hook)
|
(add-hook 'html-mode-hook 'no-auto-fill-hook)
|
||||||
(add-hook 'text-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)
|
||||||
@ -335,3 +336,5 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
'(reb-re-syntax (quote string))
|
'(reb-re-syntax (quote string))
|
||||||
'(safe-local-variable-values (quote ((use-python-tabs . t) (python-indent . 4) (whitespace-line-column . 80) (lexical-binding . t)))))
|
'(safe-local-variable-values (quote ((use-python-tabs . t) (python-indent . 4) (whitespace-line-column . 80) (lexical-binding . t)))))
|
||||||
|
|
||||||
|
(load-file "~/.emacs.d/emacs-for-python/epy-init.el")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user