[Emacs] Enable flycheck by default for emacs-lisp buffers
This commit is contained in:
		
							parent
							
								
									386cade963
								
							
						
					
					
						commit
						00d847bf09
					
				@ -1951,6 +1951,16 @@ each time we open one:
 | 
				
			|||||||
  (diredfl-global-mode 1)
 | 
					  (diredfl-global-mode 1)
 | 
				
			||||||
#+END_SRC
 | 
					#+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. Let’s add that:
 | 
				
			||||||
 | 
					#+BEGIN_SRC emacs-lisp
 | 
				
			||||||
 | 
					  (add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
 | 
				
			||||||
 | 
					#+END_SRC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*** Eshell
 | 
					*** Eshell
 | 
				
			||||||
:PROPERTIES:
 | 
					:PROPERTIES:
 | 
				
			||||||
:CUSTOM_ID: User_Configuration-Eshell-3012e67e
 | 
					:CUSTOM_ID: User_Configuration-Eshell-3012e67e
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user