1
0

handle more irc control characters

This commit is contained in:
zdm 2021-02-06 10:01:40 -07:00
parent 2574410708
commit 27251a4512

View File

@ -540,9 +540,15 @@
(setq-local completing-read-function #'completing-read-default)
(setq-local completion-in-region-function #'completion--in-region))
;; https://github.com/mgalgs/.emacs.d/blob/master/init.el#L599-L602
(defun mgalgs-erc-ansi-colors ()
"For ansi color escape sequences"
(ansi-color-apply-on-region (point-min) (point-max)))
:hook
((erc-insert-post erc-send-post) . erc-save-buffer-in-logs)
((erc-mode) . basil-default-completion)
((erc-insert-modify) . mgalgs-erc-ansi-colors)
:config
(load (concat user-utils "erc-faces"))