+2001-01-29 Dave Love <fx@gnu.org>
+
+ * ansi-color.el (ansi-color-for-comint-mode): Add :version.
+ (ansi-color-for-comint-mode-on, ansi-color-process-output): Add
+ autoload cookie.
+ (ansi-color-apply-sequence): Fix typo.
+
2001-01-29 Gerd Moellmann <gerd@gnu.org>
* menu-bar.el (menu-bar-files-menu): Add menu items for
\\[ansi-color-for-comint-mode-on]
\\[ansi-color-for-comint-mode-off]
\\[ansi-color-for-comint-mode-filter]"
- :version "21.1"
:type '(choice (const :tag "Do nothing" nil)
(const :tag "Filter" filter)
(const :tag "Translate" t))
:group 'ansi-colors)
+;;;###autoload
(defun ansi-color-for-comint-mode-on ()
"Set `ansi-color-for-comint-mode' to t."
(interactive)
(interactive)
(setq ansi-color-for-comint-mode 'filter))
+;;;###autoload
(defun ansi-color-process-output (string)
"Maybe translate SGR control sequences of comint output into text-properties.
((eq (car new-faces) 'default)
(cdr new-faces))
(t
- (append new-faces face)))))
+ (append new-faces faces)))))
(defun ansi-color-make-color-map ()
"Creates a vector of face definitions and returns it.