I\'d like to change the window/frame size of my XEmacs based on the current display resolution.
This is useful when I run my laptop either by itself or attached to a
For a more cross-platform solution, look at
(display-pixel-width)
(display-pixel-height)
If what you actually want to do is set the Emacs window to full screen on start-up, check out maxframe.el.
The current display resolution is available using the following functions (both non-interactive).
(x-display-pixel-width)
(x-display-pixel-height)