]> git.eshelyaron.com Git - emacs.git/commitdiff
(initial-frame-alist): Add defcustom.
authorRichard M. Stallman <rms@gnu.org>
Sun, 22 Nov 1998 15:35:02 +0000 (15:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 22 Nov 1998 15:35:02 +0000 (15:35 +0000)
lisp/frame.el

index fc8b6a27caf9dc3d5e37fe75016c56f734b76d03..4c392a5895cc74d35ae692a5f5bbb46126592247 100644 (file)
@@ -32,7 +32,7 @@ function, which should take an alist of parameters as its argument.")
 ;;; 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 @@ as it appears, you need to use this three-step process:
 * 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.