[Bug: 21.5-b27] modeline problem: frame-tty-p not defined

Ron Isaacson Ron.Isaacson at morganstanley.com
Tue Jun 19 14:02:35 EDT 2007


Ben Wing wrote:
> 
> Stephen J. Turnbull wrote:
> > Ron Isaacson writes:
> >
> >  > In modeline.el, modeline-update-tty-frame-specifier tries to use
> >  > frame-tty-p. If that function is not defined, modeline-tty-frame-id
> >  > will always be blank, and it doesn't seem to be defined anywhere.
> >
> > Why not just use (eq (frame-type f) 'tty)?  AFAICT this isn't used
> > anywhere else, nor do corresponding type-specific predicates exist for
> > other kinds of frames.
> >
> >
> hmm, i thought that frame-tty-p is supposed to be defined always,
> whether or not TTY support is compiled in, but i see i was wrong.

No worries... simple patch attached.

--
Ron Isaacson
Morgan Stanley
ron.isaacson at morganstanley.com / (212) 762-1950

-------------- next part --------------
A non-text attachment was scrubbed...
Name: modeline.el.patch
Type: application/octet-stream
Size: 712 bytes
Desc: not available
Url : http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20070619/53c72f1c/modeline.el.obj


More information about the XEmacs-Beta mailing list