Move custom comint hook to corresponding use-package declaration
Because of consistency and such.
This commit is contained in:
parent
5e03486be9
commit
4e9d804bca
4
init.el
4
init.el
@ -2543,7 +2543,8 @@ eventuelly be set to nil, however)."
|
|||||||
comint-scroll-show-maximum-output t
|
comint-scroll-show-maximum-output t
|
||||||
comint-completion-addsuffix t
|
comint-completion-addsuffix t
|
||||||
comint-buffer-maximum-size 100000
|
comint-buffer-maximum-size 100000
|
||||||
comint-input-ring-size 5000))
|
comint-input-ring-size 5000)
|
||||||
|
:config (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m))
|
||||||
|
|
||||||
(use-package term
|
(use-package term
|
||||||
:commands (term-send-string
|
:commands (term-send-string
|
||||||
@ -2585,7 +2586,6 @@ eventuelly be set to nil, however)."
|
|||||||
:commands (shell)
|
:commands (shell)
|
||||||
:config (progn
|
:config (progn
|
||||||
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
||||||
(add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
|
|
||||||
(add-hook 'shell-mode-hook 'with-editor-export-editor)))
|
(add-hook 'shell-mode-hook 'with-editor-export-editor)))
|
||||||
|
|
||||||
(use-package db-eshell
|
(use-package db-eshell
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user