diff options
| author | Wolfgang Jenkner | 2012-08-14 23:33:55 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-08-14 23:33:55 -0400 |
| commit | 2f29c200d84a5f3a3b4b2cc09fbc5000e38ee21f (patch) | |
| tree | 8581043b2f89fe95ad7c8a995b2b52892dd7f79b /src | |
| parent | b4f5e9df77f42a033b64c2be00a4c6ca7bcf0c58 (diff) | |
| download | emacs-2f29c200d84a5f3a3b4b2cc09fbc5000e38ee21f.tar.gz emacs-2f29c200d84a5f3a3b4b2cc09fbc5000e38ee21f.zip | |
Implement ANSI SGR parameters 22-27.
* lisp/ansi-color.el (ansi-colors): Doc fix.
(ansi-color-context, ansi-color-context-region): Doc fix.
(ansi-color--find-face): New function.
(ansi-color-apply, ansi-color-apply-on-region): Use it.
Rename the local variable `face' to `codes' since it is now a list of
ansi codes. Doc fix.
(ansi-color-get-face): Remove.
(ansi-color-parse-sequence): New function, derived from
ansi-color-get-face.
(ansi-color-apply-sequence): Use it. Rewrite, and support ansi
codes 22-27.
Fixes: debbugs:12146
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions