changeset 72680:0ff4f0f6cdbd

(Display Feature Testing): display-mm-dimensions-alist.
author Kim F. Storm <storm@cua.dk>
date Wed, 06 Sep 2006 13:01:34 +0000
parents b8e9392042ae
children c1ad5d1c9fca
files lispref/frames.texi
diffstat 1 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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