From 705c11897b1c46d61568df5707d4a73ba132959e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 28 Dec 2016 23:28:40 -0800 Subject: [PATCH] [Emacs] Message when ansi-term-color vector super busted --- dotfiles/emacs.d/README.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index f487fc68..30a2b544 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -4744,7 +4744,10 @@ load-theme hook (See the heading below). (defun imalison:restore-ansi-term-color-vector (&optional force) (when (or force (imalison:ansi-term-color-vector-broken?)) - (setq ansi-term-color-vector imalison:ansi-term-color-vector))) + (setq ansi-term-color-vector imalison:ansi-term-color-vector) + (when (imalison:ansi-term-color-vector-broken?) + (message + "Oh no! ansi-term-color vector is super busted (check in custom).")))) #+END_SRC ** After ~load-theme~ hook #+BEGIN_SRC emacs-lisp