Mercurial > hg > xemacs-beta
diff lisp/frame.el @ 4586:732e3243f2e4
Correct a bug in #'display-graphic-p.
2009-01-31 Aidan Kehoe <kehoea@parhasard.net>
* frame.el (display-graphic-p):
Call #'display-device on the DISPLAY argument, ensuring that the
argument to #'device-on-window-system-p is correct.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 31 Jan 2009 13:21:32 +0000 |
parents | 44129f301385 |
children | 0636c6ccb430 |
line wrap: on
line diff
--- a/lisp/frame.el Sun Jan 18 12:56:51 2009 +0000 +++ b/lisp/frame.el Sat Jan 31 13:21:32 2009 +0000 @@ -1211,7 +1211,7 @@ that use a window system such as X, and false for text-only terminals. DISPLAY can be a frame, a device, a console, or nil (meaning the selected frame)." - (device-on-window-system-p display)) + (device-on-window-system-p (display-device display))) (defun display-images-p (&optional display) "Return non-nil if DISPLAY can display images.