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)
"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;]"