[Emacs] Enable flycheck by default for emacs-lisp buffers

This commit is contained in:
Lucien Cartier-Tilet 2021-03-31 16:31:40 +02:00
parent 386cade963
commit 00d847bf09
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1951,6 +1951,16 @@ each time we open one:
(diredfl-global-mode 1)
#+END_SRC
*** Emacs Lisp
:PROPERTIES:
:CUSTOM_ID: User-Configuration-Emacs-builtins-Emacs-Lisp-219d4260
:END:
For some reason, =flycheck-mode= is not enabled by default when in an elisp
buffer. Lets add that:
#+BEGIN_SRC emacs-lisp
(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
#+END_SRC
*** Eshell
:PROPERTIES:
:CUSTOM_ID: User_Configuration-Eshell-3012e67e