From 4e9d804bca0d95ee24fa4164f5c437309107c4da Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 15 Mar 2025 20:17:28 +0100 Subject: [PATCH] Move custom comint hook to corresponding use-package declaration Because of consistency and such. --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index e7d94c1..ee58657 100644 --- a/init.el +++ b/init.el @@ -2543,7 +2543,8 @@ eventuelly be set to nil, however)." comint-scroll-show-maximum-output t comint-completion-addsuffix t 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 :commands (term-send-string @@ -2585,7 +2586,6 @@ eventuelly be set to nil, however)." :commands (shell) :config (progn (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))) (use-package db-eshell