From 2f214b4d046ac76c03be3dd6d5be6292aee6b4d8 Mon Sep 17 00:00:00 2001 From: John Doty Date: Sun, 22 Aug 2021 20:06:00 -0700 Subject: [PATCH] xterm-color comes from use-package --- .emacs.d/init.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2cf5156..e6757f4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -928,11 +928,12 @@ (add-hook 'shell-mode-hook 'my-shell-mode-hook) ;; xterm-color -(require 'xterm-color) -(progn (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter) - (setq comint-output-filter-functions - (remove 'ansi-color-process-output - comint-output-filter-functions))) +(use-package xterm-color :ensure + :config + (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter) + (setq comint-output-filter-functions + (remove 'ansi-color-process-output + comint-output-filter-functions))) ;; ag (global-set-key (kbd "M-p") 'ag-project-regexp)