mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
* ansi-color.el (ansi-color-drop-regexp): Add 1J, 1K, 2K.
Fixes: debbugs:15617
This commit is contained in:
parent
012e2f9fda
commit
0283d6b0af
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2013-10-16 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* ansi-color.el (ansi-color-drop-regexp):
|
||||
Add 1J, 1K, 2K. (Bug#15617)
|
||||
|
||||
* files.el (hack-local-variables--warned-lexical): New.
|
||||
(hack-local-variables):
|
||||
Warn about misplaced lexical-binding. (Bug#15616)
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ foreground and background colors, respectively."
|
|||
"Regexp that matches SGR control sequences.")
|
||||
|
||||
(defconst ansi-color-drop-regexp
|
||||
"\033\\[\\([ABCDsuK]\\|2J\\|=[0-9]+[hI]\\|[0-9;]*[Hf]\\)"
|
||||
"\033\\[\\([ABCDsuK]\\|[12][JK]\\|=[0-9]+[hI]\\|[0-9;]*[Hf]\\)"
|
||||
"Regexp that matches ANSI control sequences to silently drop.")
|
||||
|
||||
(defconst ansi-color-parameter-regexp "\\([0-9]*\\)[m;]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue