aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKaroly Lorentey2006-04-20 16:09:11 +0000
committerKaroly Lorentey2006-04-20 16:09:11 +0000
commit717a00ef34c0f55bfbad80584f00d86c090d547f (patch)
tree5184f683248fabb23a1ce92d93da528065686326 /lisp
parent3fde2acf6a4b228b3493666ab17f43eeac5a738f (diff)
downloademacs-717a00ef34c0f55bfbad80584f00d86c090d547f.tar.gz
emacs-717a00ef34c0f55bfbad80584f00d86c090d547f.zip
Make `tty-display-color-p' follow its doc string. (Reported by Dan Nicolaescu.)
* lisp/vc.el (vc-annotate-color-map): Undo previous change. * src/dispnew.c (Fsend_string_to_terminal): Update call to `get_tty_terminal'. * src/term.c (Fsuspend_tty, Fresume_tty): Update call to `get_tty_terminal'. (get_tty_terminal): Add throw parameter. (Ftty_display_color_p, Ftty_display_color_cells): Don't throw errors on X frames. * src/dispextern.h (get_tty_terminal): Update prototype. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-552
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 348903fc031..61b8aa05a4b 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -617,9 +617,7 @@ version control backend imposes itself."
617 617
618;; Annotate customization 618;; Annotate customization
619(defcustom vc-annotate-color-map 619(defcustom vc-annotate-color-map
620 (if (and (not window-system) 620 (if (and (tty-display-color-p) (<= (display-color-cells) 8))
621 (tty-display-color-p)
622 (<= (display-color-cells) 8))
623 ;; A custom sorted TTY colormap 621 ;; A custom sorted TTY colormap
624 (let* ((colors 622 (let* ((colors
625 (sort 623 (sort