Commit b5d48854 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(frame-parameter): New function.

parent 2718efdd
...@@ -578,6 +578,10 @@ is given and non-nil, the unwanted frames are iconified instead." ...@@ -578,6 +578,10 @@ is given and non-nil, the unwanted frames are iconified instead."
;;;; Convenience functions for accessing and interactively changing ;;;; Convenience functions for accessing and interactively changing
;;;; frame parameters. ;;;; frame parameters.
(defun frame-parameter (frame parameter)
"Return FRAME's value for parameter PARAMETER."
(cdr (assq parameter(frame-parameters frame))))
(defun frame-height (&optional frame) (defun frame-height (&optional frame)
"Return number of lines available for display on FRAME. "Return number of lines available for display on FRAME.
If FRAME is omitted, describe the currently selected frame." If FRAME is omitted, describe the currently selected frame."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment