diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-06-15 23:23:44 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-07-03 10:09:40 -0400 |
commit | 35ed01dfb3f811a997e26d843e9971eb6b81b125 (patch) | |
tree | 722d1f4750056d1c04288a0b8f3d92419a4a11fe /test/lisp/emacs-lisp/lisp-mode-tests.el | |
parent | a7754a250b74c17e1f63194e601f20fdb911dd7c (diff) | |
download | emacs-35ed01dfb3f811a997e26d843e9971eb6b81b125.tar.gz emacs-35ed01dfb3f811a997e26d843e9971eb6b81b125.tar.bz2 emacs-35ed01dfb3f811a997e26d843e9971eb6b81b125.zip |
Fix and simplify ansi escape detection (Bug#21381)
* lisp/ansi-color.el (ansi-color-regexp, ansi-color-drop-regexp):
Remove.
(ansi-color-control-seq-regexp): New constant, matches all escape
sequences.
(ansi-color-filter-apply, ansi-color-apply)
(ansi-color-filter-region, ansi-color-apply-on-region): Use it instead
of matching color sequences separately from ignored sequences.
Differentiate color sequences simply by checking the last character.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-mode-tests.el')
0 files changed, 0 insertions, 0 deletions