# HG changeset patch # User Stephen J. Turnbull # Date 1233409663 -32400 # Node ID 03ec57ae1d1e2a18aa57a0feceff2caa64dbe636 # Parent 6a6689b96f00c887a1ede549a873f6f6f334b29b# Parent b25f081370e0ea07648c447823f1b97e3d45b33b YAFMT diff -r 6a6689b96f00 -r 03ec57ae1d1e lisp/ChangeLog --- a/lisp/ChangeLog Sat Jan 31 22:25:16 2009 +0900 +++ b/lisp/ChangeLog Sat Jan 31 22:47:43 2009 +0900 @@ -1,3 +1,9 @@ +2009-01-31 Aidan Kehoe + + * frame.el (display-graphic-p): + Call #'display-device on the DISPLAY argument, ensuring that the + argument to #'device-on-window-system-p is correct. + 2009-01-18 Ville Skyttä * font.el (font-*-p): Docstring spelling fix. diff -r 6a6689b96f00 -r 03ec57ae1d1e lisp/frame.el --- a/lisp/frame.el Sat Jan 31 22:25:16 2009 +0900 +++ b/lisp/frame.el Sat Jan 31 22:47:43 2009 +0900 @@ -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.