summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-07-06 18:27:40 +0000
committerRichard M. Stallman <rms@gnu.org>1999-07-06 18:27:40 +0000
commit814c2792733da74302469db9c215bb8f7d33ff04 (patch)
tree40c7094102b8ea795d59316baf77ea62d8c23bc3 /lisp
parent3f2ba436148c1420a848cdef0596a3f5723f60a9 (diff)
downloademacs-814c2792733da74302469db9c215bb8f7d33ff04.tar.gz
(minibuffer-frame-alist): Use defcustom.
(pop-up-frame-alist): Likewise. (initial-frame-alist): Specify * in the doc string.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/frame.el23
1 files changed, 16 insertions, 7 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index d4947f4351b..c9cc139630d 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -33,7 +33,7 @@ function, which should take an alist of parameters as its argument.")
;;; But that's not necessary, because the default is to have one.
;;; By not specifying it here, we let an X resource specify it.
(defcustom initial-frame-alist nil
- "Alist of frame parameters for creating the initial X window frame.
+ "*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)))
Parameters specified here supersede the values given in `default-frame-alist'.
@@ -57,20 +57,29 @@ as it appears, you need to use this three-step process:
(sexp :tag "Value")))
:group 'frames)
-(defvar minibuffer-frame-alist '((width . 80) (height . 2))
- "Alist of frame parameters for initially creating a minibuffer frame.
+(defcustom minibuffer-frame-alist '((width . 80) (height . 2))
+ "*Alist of frame parameters for initially creating a minibuffer frame.
You can set this in your `.emacs' file; for example,
(setq minibuffer-frame-alist
'((top . 1) (left . 1) (width . 80) (height . 2)))
Parameters specified here supersede the values given in
-`default-frame-alist'.")
+`default-frame-alist', for a minibuffer frame."
+ :type '(repeat (cons :format "%v"
+ (symbol :tag "Parameter")
+ (sexp :tag "Value")))
+ :group 'frames)
-(defvar pop-up-frame-alist nil
- "Alist of frame parameters used when creating pop-up frames.
+(defcustom pop-up-frame-alist nil
+ "*Alist of frame parameters used when creating pop-up frames.
Pop-up frames are used for completions, help, and the like.
This variable can be set in your init file, like this:
(setq pop-up-frame-alist '((width . 80) (height . 20)))
-These supersede the values given in `default-frame-alist'.")
+These supersede the values given in `default-frame-alist',
+for pop-up frames."
+ :type '(repeat (cons :format "%v"
+ (symbol :tag "Parameter")
+ (sexp :tag "Value")))
+ :group 'frames)
(setq pop-up-frame-function
(function (lambda ()