about summary refs log tree commit diff
path: root/modules/workstation/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/workstation/emacs/init.el')
-rw-r--r--modules/workstation/emacs/init.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el
index a61ebccd50fb..d77585482e43 100644
--- a/modules/workstation/emacs/init.el
+++ b/modules/workstation/emacs/init.el
@@ -47,10 +47,8 @@
   (add-to-list 'c-default-style '(other . "linux")))
 
 ;;; Comint ;;;
-(defun enable-comint-ansi-color ()
-  (when ansi-color-for-comint-mode
-    (enable-ansi-color)))
-(add-hook 'comint-mode-hook #'enable-comint-ansi-color)
+;; This relies on an Emacs patch to apply to async-shell-command.
+(setq comint-terminfo-terminal "dumb-emacs-ansi")
 
 ;;; Dired ;;;
 (with-eval-after-load 'dired