Dan Nicolaescu
2006-04-19 20:28:23 UTC
After patch-550 vc-annotate does not work on X11, it gives an error
about the frame not being a TERMCAP terminal (or something of the
sort).
The problem is caused by tty-display-color-cells.
Here is a fix:
--- term.c.orig 2006-04-19 13:21:36.000000000 -0700
+++ term.c 2006-04-19 13:21:54.000000000 -0700
@@ -1842,7 +1842,8 @@
(terminal)
Lisp_Object terminal;
{
- struct terminal *t = get_tty_terminal (NILP(terminal)?selected_frame:terminal);
+ struct terminal *t = get_tty_terminal (NILP(terminal)
+ ?selected_frame:terminal);
if (!t)
return Qnil;
else
It seems that a few other functions in term.c that call get_tty_terminal need the same treatment...
about the frame not being a TERMCAP terminal (or something of the
sort).
The problem is caused by tty-display-color-cells.
Here is a fix:
--- term.c.orig 2006-04-19 13:21:36.000000000 -0700
+++ term.c 2006-04-19 13:21:54.000000000 -0700
@@ -1842,7 +1842,8 @@
(terminal)
Lisp_Object terminal;
{
- struct terminal *t = get_tty_terminal (NILP(terminal)?selected_frame:terminal);
+ struct terminal *t = get_tty_terminal (NILP(terminal)
+ ?selected_frame:terminal);
if (!t)
return Qnil;
else
It seems that a few other functions in term.c that call get_tty_terminal need the same treatment...