Variable: ansi-color-context

ansi-color-context is a buffer-local variable defined in ansi-color.el.gz.

Documentation

Context saved between two calls to ansi-color-apply.

This is a list of the form (CODES FRAGMENT) or nil. CODES represents the state the last call to ansi-color-apply ended with, currently a list of ansi codes, and FRAGMENT is a string starting with an escape sequence, possibly the start of a new escape sequence.

Source Code

;; Defined in /usr/src/emacs/lisp/ansi-color.el.gz
;; Working with strings
(defvar-local ansi-color-context nil
  "Context saved between two calls to `ansi-color-apply'.
This is a list of the form (CODES FRAGMENT) or nil.  CODES
represents the state the last call to `ansi-color-apply' ended
with, currently a list of ansi codes, and FRAGMENT is a string
starting with an escape sequence, possibly the start of a new
escape sequence.")