redguardtoo / emacs.d

Fast and robust Emacs setup.
http://blog.binchen.org
GNU General Public License v3.0
2.41k stars 616 forks source link

org-mode: evil-auto-indent should be set as local variable #1046

Closed karta0807913 closed 1 year ago

karta0807913 commented 1 year ago

https://github.com/redguardtoo/emacs.d/blob/4807cec78f90d705f7a9569519bc0167aac32825/lisp/init-org.el#L69

In this file, evil-auto-indent is set to nil every time when we turn on the org-mode. It will cause the indent not to work in another buffer. Therefore, I think we should use set-local function here :D

redguardtoo commented 1 year ago

make sense.

ea61d2e8 org-mode: evil-auto-indent should be set as local variable #1046 (Chen Bin)

karta0807913 commented 1 year ago

great