changeset 17357:dd0216ff2358

(frame-parameter): New function.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 Apr 1997 06:49:45 +0000
parents 9f345ed0683e
children 3fe0d505b101
files lisp/frame.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/frame.el	Thu Apr 10 06:38:26 1997 +0000
+++ b/lisp/frame.el	Thu Apr 10 06:49:45 1997 +0000
@@ -578,6 +578,10 @@
 ;;;; Convenience functions for accessing and interactively changing
 ;;;; 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)
   "Return number of lines available for display on FRAME.
 If FRAME is omitted, describe the currently selected frame."