aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-10-21 08:27:14 +0000
committerYAMAMOTO Mitsuharu2005-10-21 08:27:14 +0000
commitbb9404d64bbd1774a87b6effc11c4b667c2e18d6 (patch)
treeb2cafd2f9f9b4ea83b138de855539469e16dcd43
parent06b4a81bb402dac279a389ce8adae48db16b6db8 (diff)
downloademacs-bb9404d64bbd1774a87b6effc11c4b667c2e18d6.tar.gz
emacs-bb9404d64bbd1774a87b6effc11c4b667c2e18d6.zip
(display-screens): Use x-display-screens also on Mac.
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/frame.el4
2 files changed, 14 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fbd8b74ec3c..18f785b2c15 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,15 @@
12005-10-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * cus-face.el (custom-declare-face): Make face from X resources
4 also on Mac.
5
6 * disp-table.el (standard-display-g1, standard-display-graphic):
7 Refuse to use string glyphs also on Mac.
8 (standard-display-european): Don't set terminal coding system also
9 on Mac.
10
11 * frame.el (display-screens): Use x-display-screens also on Mac.
12
12005-10-21 Romain Francoise <romain@orebokech.com> 132005-10-21 Romain Francoise <romain@orebokech.com>
2 14
3 * net/rcirc.el: Now part of GNU Emacs. Update FSF's address. 15 * net/rcirc.el: Now part of GNU Emacs. Update FSF's address.
diff --git a/lisp/frame.el b/lisp/frame.el
index bd4d7ad5288..46e6e742d7c 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1053,9 +1053,9 @@ frame's display)."
1053 "Return the number of screens associated with DISPLAY." 1053 "Return the number of screens associated with DISPLAY."
1054 (let ((frame-type (framep-on-display display))) 1054 (let ((frame-type (framep-on-display display)))
1055 (cond 1055 (cond
1056 ((memq frame-type '(x w32)) 1056 ((memq frame-type '(x w32 mac))
1057 (x-display-screens display)) 1057 (x-display-screens display))
1058 (t ;; FIXME: is this correct for the Mac? 1058 (t
1059 1)))) 1059 1))))
1060 1060
1061(defun display-pixel-height (&optional display) 1061(defun display-pixel-height (&optional display)