aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2013-05-20 12:15:20 +0900
committerYAMAMOTO Mitsuharu2013-05-20 12:15:20 +0900
commitd6635ba23031c9ceb430d5bec5dbb8ee4c75ad12 (patch)
tree1c96fd5cf2695fb97428b5cc255d91c7e8b0754d /src
parent5ba8bf358ff6e7fcaf0c9e987da9661e89c62e15 (diff)
downloademacs-d6635ba23031c9ceb430d5bec5dbb8ee4c75ad12.tar.gz
emacs-d6635ba23031c9ceb430d5bec5dbb8ee4c75ad12.zip
Mention `display-monitor-attributes-list' in docstrings of X11 display measurement functions.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xfns.c24
2 files changed, 23 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 186f7812f44..56ee8f659bc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,9 @@
12013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 12013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 2
3 * xfns.c (check_x_display_info): Don't use XINT for terminal object. 3 * xfns.c (check_x_display_info): Don't use XINT for terminal object.
4 (Fx_display_pixel_width, Fx_display_pixel_height)
5 (Fx_display_mm_width, Fx_display_mm_height): Mention
6 `display-monitor-attributes-list' in docstrings.
4 7
52013-05-18 Paul Eggert <eggert@cs.ucla.edu> 82013-05-18 Paul Eggert <eggert@cs.ucla.edu>
6 9
diff --git a/src/xfns.c b/src/xfns.c
index a61d2de5905..af29c5bdc3f 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3569,7 +3569,11 @@ DEFUN ("x-display-pixel-width", Fx_display_pixel_width, Sx_display_pixel_width,
3569 doc: /* Return the width in pixels of the X display TERMINAL. 3569 doc: /* Return the width in pixels of the X display TERMINAL.
3570The optional argument TERMINAL specifies which display to ask about. 3570The optional argument TERMINAL specifies which display to ask about.
3571TERMINAL should be a terminal object, a frame or a display name (a string). 3571TERMINAL should be a terminal object, a frame or a display name (a string).
3572If omitted or nil, that stands for the selected frame's display. */) 3572If omitted or nil, that stands for the selected frame's display.
3573
3574On \"multi-monitor\" setups this refers to the pixel width for all
3575physical monitors associated with TERMINAL. To get information for
3576each physical monitor, use `display-monitor-attributes-list'. */)
3573 (Lisp_Object terminal) 3577 (Lisp_Object terminal)
3574{ 3578{
3575 struct x_display_info *dpyinfo = check_x_display_info (terminal); 3579 struct x_display_info *dpyinfo = check_x_display_info (terminal);
@@ -3582,7 +3586,11 @@ DEFUN ("x-display-pixel-height", Fx_display_pixel_height,
3582 doc: /* Return the height in pixels of the X display TERMINAL. 3586 doc: /* Return the height in pixels of the X display TERMINAL.
3583The optional argument TERMINAL specifies which display to ask about. 3587The optional argument TERMINAL specifies which display to ask about.
3584TERMINAL should be a terminal object, a frame or a display name (a string). 3588TERMINAL should be a terminal object, a frame or a display name (a string).
3585If omitted or nil, that stands for the selected frame's display. */) 3589If omitted or nil, that stands for the selected frame's display.
3590
3591On \"multi-monitor\" setups this refers to the pixel height for all
3592physical monitors associated with TERMINAL. To get information for
3593each physical monitor, use `display-monitor-attributes-list'. */)
3586 (Lisp_Object terminal) 3594 (Lisp_Object terminal)
3587{ 3595{
3588 struct x_display_info *dpyinfo = check_x_display_info (terminal); 3596 struct x_display_info *dpyinfo = check_x_display_info (terminal);
@@ -3690,7 +3698,11 @@ DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1,
3690 doc: /* Return the height in millimeters of the X display TERMINAL. 3698 doc: /* Return the height in millimeters of the X display TERMINAL.
3691The optional argument TERMINAL specifies which display to ask about. 3699The optional argument TERMINAL specifies which display to ask about.
3692TERMINAL should be a terminal object, a frame or a display name (a string). 3700TERMINAL should be a terminal object, a frame or a display name (a string).
3693If omitted or nil, that stands for the selected frame's display. */) 3701If omitted or nil, that stands for the selected frame's display.
3702
3703On \"multi-monitor\" setups this refers to the height in millimeters for
3704all physical monitors associated with TERMINAL. To get information
3705for each physical monitor, use `display-monitor-attributes-list'. */)
3694 (Lisp_Object terminal) 3706 (Lisp_Object terminal)
3695{ 3707{
3696 struct x_display_info *dpyinfo = check_x_display_info (terminal); 3708 struct x_display_info *dpyinfo = check_x_display_info (terminal);
@@ -3702,7 +3714,11 @@ DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0,
3702 doc: /* Return the width in millimeters of the X display TERMINAL. 3714 doc: /* Return the width in millimeters of the X display TERMINAL.
3703The optional argument TERMINAL specifies which display to ask about. 3715The optional argument TERMINAL specifies which display to ask about.
3704TERMINAL should be a terminal object, a frame or a display name (a string). 3716TERMINAL should be a terminal object, a frame or a display name (a string).
3705If omitted or nil, that stands for the selected frame's display. */) 3717If omitted or nil, that stands for the selected frame's display.
3718
3719On \"multi-monitor\" setups this refers to the width in millimeters for
3720all physical monitors associated with TERMINAL. To get information
3721for each physical monitor, use `display-monitor-attributes-list'. */)
3706 (Lisp_Object terminal) 3722 (Lisp_Object terminal)
3707{ 3723{
3708 struct x_display_info *dpyinfo = check_x_display_info (terminal); 3724 struct x_display_info *dpyinfo = check_x_display_info (terminal);