Mercurial > emacs
changeset 23745:43927e2a5899
(initial-frame-alist): Add defcustom.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 22 Nov 1998 15:35:02 +0000 |
parents | e7128c62a0b4 |
children | 06f68bc4b777 |
files | lisp/frame.el |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/frame.el Sun Nov 22 15:33:21 1998 +0000 +++ b/lisp/frame.el Sun Nov 22 15:35:02 1998 +0000 @@ -32,7 +32,7 @@ ;;; The initial value given here for used to ask for a minibuffer. ;;; But that's not necessary, because the default is to have one. ;;; By not specifying it here, we let an X resource specify it. -(defvar initial-frame-alist nil +(defcustom initial-frame-alist nil "Alist of frame parameters for creating the initial X window frame. You can set this in your `.emacs' file; for example, (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 55))) @@ -51,7 +51,11 @@ * Set `default-frame-alist' to override these options so that they don't affect subsequent frames. * Set `initial-frame-alist' in a way that matches the X resources, - to override what you put in `default-frame-alist'.") + to override what you put in `default-frame-alist'." + :type '(repeat (cons :format "%v" + (symbol :tag "Parameter") + (sexp :tag "Value"))) + :group 'frames) (defvar minibuffer-frame-alist '((width . 80) (height . 2)) "Alist of frame parameters for initially creating a minibuffer frame.