# HG changeset patch # User Kim F. Storm # Date 1157547694 0 # Node ID 0ff4f0f6cdbd3fedd5cf67598f502bda34bc464b # Parent b8e9392042aea4054cfb14aeb42b5819d0f4ac5d (Display Feature Testing): display-mm-dimensions-alist. diff -r b8e9392042ae -r 0ff4f0f6cdbd lispref/frames.texi --- a/lispref/frames.texi Wed Sep 06 11:51:57 2006 +0000 +++ b/lispref/frames.texi Wed Sep 06 13:01:34 2006 +0000 @@ -555,7 +555,7 @@ @node Management Parameters @subsubsection Window Management Parameters - + These frame parameters, meaningful only on window system displays, interact with the window manager. @@ -2086,21 +2086,27 @@ On a character terminal, it gives the height in characters. @end defun +@defun display-pixel-width &optional display +This function returns the width of the screen in pixels. +On a character terminal, it gives the width in characters. +@end defun + @defun display-mm-height &optional display This function returns the height of the screen in millimeters, or @code{nil} if Emacs cannot get that information. @end defun -@defun display-pixel-width &optional display -This function returns the width of the screen in pixels. -On a character terminal, it gives the width in characters. -@end defun - @defun display-mm-width &optional display This function returns the width of the screen in millimeters, or @code{nil} if Emacs cannot get that information. @end defun +@defvar display-mm-dimensions-alist +This variable allows the user to specify the dimensions of graphical +displays returned by @code{display-mm-height} and +@code{display-mm-width} in case the system provides incorrect values. +@end defvar + @defun display-backing-store &optional display This function returns the backing store capability of the display. Backing store means recording the pixels of windows (and parts of