[Emacs] Message when ansi-term-color vector super busted

This commit is contained in:
Ivan Malison 2016-12-28 23:28:40 -08:00
parent bdc95c969b
commit 705c11897b
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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