diff options
author | Chong Yidong <cyd@gnu.org> | 2012-06-23 17:28:10 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-06-23 17:28:10 +0800 |
commit | 0e9e6c6abce029feda6cced84cb1fa2dc1d6d1c1 (patch) | |
tree | 4146147e562826ec342451596acbfafc2850b78d /lisp/ansi-color.el | |
parent | d054f3fb9af7399ee67be94e1602b45d21fc555f (diff) | |
download | emacs-0e9e6c6abce029feda6cced84cb1fa2dc1d6d1c1.tar.gz emacs-0e9e6c6abce029feda6cced84cb1fa2dc1d6d1c1.tar.bz2 emacs-0e9e6c6abce029feda6cced84cb1fa2dc1d6d1c1.zip |
Mark python-mode abbrevs as system abbrevs.
* progmodes/python.el (python-skeleton-define): Mark abbrevs as
system abbrevs.
* ansi-color.el (ansi-color-apply-on-region): Doc fix.
Diffstat (limited to 'lisp/ansi-color.el')
-rw-r--r-- | lisp/ansi-color.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/ansi-color.el b/lisp/ansi-color.el index d677f706704..18b2c846274 100644 --- a/lisp/ansi-color.el +++ b/lisp/ansi-color.el @@ -358,11 +358,12 @@ it will override BEGIN, the start of the region. Set "Translates SGR control sequences into overlays or extents. Delete all other control sequences without processing them. -SGR control sequences are applied by setting foreground and -background colors to the text between BEGIN and END using -overlays. The colors used are given in `ansi-color-faces-vector' -and `ansi-color-names-vector'. See `ansi-color-apply-sequence' -for details. +SGR control sequences are applied by calling the function +specified by `ansi-color-apply-face-function'. The default +function sets foreground and background colors to the text +between BEGIN and END, using overlays. The colors used are given +in `ansi-color-faces-vector' and `ansi-color-names-vector'. See +`ansi-color-apply-sequence' for details. Every call to this function will set and use the buffer-local variable `ansi-color-context-region' to save position and current face. This |