aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorEli Zaretskii2014-10-08 13:16:45 +0300
committerEli Zaretskii2014-10-08 13:16:45 +0300
commit28ec0a87ca43f6d62b1503bedfe25640269fd7ef (patch)
tree11af3bd8cdfaeb03992f80fc67204806fba1cc89 /lisp/faces.el
parenta7044030f39a7351507727421308c56d7771bebf (diff)
downloademacs-28ec0a87ca43f6d62b1503bedfe25640269fd7ef.tar.gz
emacs-28ec0a87ca43f6d62b1503bedfe25640269fd7ef.zip
Fix bug #18636 with documentation of multi-monitor displays.
doc/lispref/frames.texi (Multiple Terminals): Improve the description of X display names. Add index entries. (Basic Parameters): Add a cross-reference to where X display names are described. (Position Parameters): Mention that positional parameters of the form (+ POS) can be negative if they are on a non-primary monitor of a multi-monitor display. (Creating Frames): Mention that on multi-monitor displays the frame might be positioned differently than specified by the frame parameters alist. lisp/faces.el (display-grayscale-p): Mention in the doc string that the argument can be either a display name or a frame. lisp/frame.el (display-pixel-height, display-pixel-width) (display-mm-height, display-mm-width, display-backing-store) (display-save-under, display-planes, display-color-cells) (display-visual-class, display-monitor-attributes-list) (display-screens): Mention in the doc string that the argument can be either a display name or a frame. Improve the docs of the monitor attributes.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index f316245d165..20665286b4f 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1814,7 +1814,9 @@ If omitted or nil, that stands for the selected frame's display."
1814(declare-function x-display-grayscale-p "xfns.c" (&optional terminal)) 1814(declare-function x-display-grayscale-p "xfns.c" (&optional terminal))
1815 1815
1816(defun display-grayscale-p (&optional display) 1816(defun display-grayscale-p (&optional display)
1817 "Return non-nil if frames on DISPLAY can display shades of gray." 1817 "Return non-nil if frames on DISPLAY can display shades of gray.
1818DISPLAY should be either a frame or a display name (a string).
1819If omitted or nil, that stands for the selected frame's display."
1818 (let ((frame-type (framep-on-display display))) 1820 (let ((frame-type (framep-on-display display)))
1819 (cond 1821 (cond
1820 ((memq frame-type '(x w32 ns)) 1822 ((memq frame-type '(x w32 ns))