From: YAMAMOTO Mitsuharu Date: Fri, 21 Oct 2005 08:27:14 +0000 (+0000) Subject: (display-screens): Use x-display-screens also on Mac. X-Git-Tag: emacs-pretest-22.0.90~6437 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb9404d64bbd1774a87b6effc11c4b667c2e18d6;p=emacs.git (display-screens): Use x-display-screens also on Mac. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fbd8b74ec3c..18f785b2c15 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,15 @@ +2005-10-21 YAMAMOTO Mitsuharu + + * cus-face.el (custom-declare-face): Make face from X resources + also on Mac. + + * disp-table.el (standard-display-g1, standard-display-graphic): + Refuse to use string glyphs also on Mac. + (standard-display-european): Don't set terminal coding system also + on Mac. + + * frame.el (display-screens): Use x-display-screens also on Mac. + 2005-10-21 Romain Francoise * 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)." "Return the number of screens associated with DISPLAY." (let ((frame-type (framep-on-display display))) (cond - ((memq frame-type '(x w32)) + ((memq frame-type '(x w32 mac)) (x-display-screens display)) - (t ;; FIXME: is this correct for the Mac? + (t 1)))) (defun display-pixel-height (&optional display)