emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NS: ns-expand-space / slider in Preferences dialog not functional


From: Dan Nicolaescu
Subject: Re: NS: ns-expand-space / slider in Preferences dialog not functional
Date: Tue, 10 Mar 2009 08:33:18 -0700 (PDT)

Stefan Monnier <address@hidden> writes:

  > >   /* FIXME: Because of the typo below, Qbuffered probably never did
  > >      anything useful, so it might as well be removed. */
  > >   Qbuffered = intern ("bufferd");
  > >   staticpro (&Qbuffered);
  > > ??? Whis is this kept around? 
  > 
  > Feel free to remove such dead code.
  > 
  > >   Qfontsize = intern ("fontsize");
  > >   staticpro (&Qfontsize);
  > > What about this one?
  > 
  > What about it?

Isn't dealing with font sizes supposed to be cross-platform?
font.c: font_open_for_lface
[snip]
#ifdef HAVE_NS
      if (size == 0)
        {
          Lisp_Object ffsize = get_frame_param(f, Qfontsize);
          size = NUMBERP (ffsize) ? POINT_TO_PIXEL (XINT (ffsize), f->resy) : 0;
        }
#endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]