Don't trigger so-long in noninteractive sessions
This commit is contained in:
parent
cae8c3f145
commit
2519d12ae3
1 changed files with 2 additions and 1 deletions
|
@ -470,7 +470,8 @@ files, so we replace calls to `pp' with the much faster `prin1'."
|
||||||
(use-package! so-long
|
(use-package! so-long
|
||||||
:after-call after-find-file
|
:after-call after-find-file
|
||||||
:config
|
:config
|
||||||
(global-so-long-mode +1)
|
(when doom-interactive-mode
|
||||||
|
(global-so-long-mode +1))
|
||||||
;; Don't disable syntax highlighting and line numbers, or make the buffer
|
;; Don't disable syntax highlighting and line numbers, or make the buffer
|
||||||
;; read-only, in `so-long-minor-mode', so we can have a basic editing
|
;; read-only, in `so-long-minor-mode', so we can have a basic editing
|
||||||
;; experience in them, at least. It will remain off in `so-long-mode',
|
;; experience in them, at least. It will remain off in `so-long-mode',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue