forked from colonelpanic/dotfiles
Remove flycheck checker in flycheck-mode-hook
Removing it in the emacs mode hook caused an issue when flycheck mode was not yet enabled.
This commit is contained in:
parent
7c40a18221
commit
8f0d4907dc
@ -2167,11 +2167,11 @@ Reduce indentation for some functions
|
|||||||
(when (s-starts-with? "*" (buffer-name))
|
(when (s-starts-with? "*" (buffer-name))
|
||||||
(flycheck-disable-checker 'emacs-lisp-checkdoc)))
|
(flycheck-disable-checker 'emacs-lisp-checkdoc)))
|
||||||
|
|
||||||
(add-hook 'emacs-lisp-mode-hook 'imalison:maybe-remove-flycheck-checkdoc-checker)
|
|
||||||
(add-hook 'emacs-lisp-mode-hook 'imenu-elisp-sections)
|
(add-hook 'emacs-lisp-mode-hook 'imenu-elisp-sections)
|
||||||
(add-hook 'emacs-lisp-mode-hook (lambda ()
|
(add-hook 'emacs-lisp-mode-hook (lambda ()
|
||||||
(setq indent-tabs-mode nil)
|
(setq indent-tabs-mode nil)
|
||||||
(setq show-trailing-whitespace t)))
|
(setq show-trailing-whitespace t)))
|
||||||
|
(add-hook 'flycheck-mode-hook 'imalison:maybe-remove-flycheck-checkdoc-checker)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
***** Keybinds
|
***** Keybinds
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user