[Emacs] Message when ansi-term-color vector super busted
This commit is contained in:
parent
bdc95c969b
commit
705c11897b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user