aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1999-07-06 18:27:40 +0000
committerRichard M. Stallman1999-07-06 18:27:40 +0000
commit0b9d32af70d94b4b819e285f8aac65a45dbc9221 (patch)
tree53cb1a8d0ed0051f8d6e378b57781cf4dca67693
parent2df32500abcc5219a66119d2a6b32cebf97e7722 (diff)
downloademacs-0b9d32af70d94b4b819e285f8aac65a45dbc9221.tar.gz
emacs-0b9d32af70d94b4b819e285f8aac65a45dbc9221.zip
(minibuffer-frame-alist): Use defcustom.
(pop-up-frame-alist): Likewise. (initial-frame-alist): Specify * in the doc string.
-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.")
33;;; But that's not necessary, because the default is to have one. 33;;; But that's not necessary, because the default is to have one.
34;;; By not specifying it here, we let an X resource specify it. 34;;; By not specifying it here, we let an X resource specify it.
35(defcustom initial-frame-alist nil 35(defcustom initial-frame-alist nil
36 "Alist of frame parameters for creating the initial X window frame. 36 "*Alist of frame parameters for creating the initial X window frame.
37You can set this in your `.emacs' file; for example, 37You can set this in your `.emacs' file; for example,
38 (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 55))) 38 (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 55)))
39Parameters specified here supersede the values given in `default-frame-alist'. 39Parameters 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:
57 (sexp :tag "Value"))) 57 (sexp :tag "Value")))
58 :group 'frames) 58 :group 'frames)
59 59
60(defvar minibuffer-frame-alist '((width . 80) (height . 2)) 60(defcustom minibuffer-frame-alist '((width . 80) (height . 2))
61 "Alist of frame parameters for initially creating a minibuffer frame. 61 "*Alist of frame parameters for initially creating a minibuffer frame.
62You can set this in your `.emacs' file; for example, 62You can set this in your `.emacs' file; for example,
63 (setq minibuffer-frame-alist 63 (setq minibuffer-frame-alist
64 '((top . 1) (left . 1) (width . 80) (height . 2))) 64 '((top . 1) (left . 1) (width . 80) (height . 2)))
65Parameters specified here supersede the values given in 65Parameters specified here supersede the values given in
66`default-frame-alist'.") 66`default-frame-alist', for a minibuffer frame."
67 :type '(repeat (cons :format "%v"
68 (symbol :tag "Parameter")
69 (sexp :tag "Value")))
70 :group 'frames)
67 71
68(defvar pop-up-frame-alist nil 72(defcustom pop-up-frame-alist nil
69 "Alist of frame parameters used when creating pop-up frames. 73 "*Alist of frame parameters used when creating pop-up frames.
70Pop-up frames are used for completions, help, and the like. 74Pop-up frames are used for completions, help, and the like.
71This variable can be set in your init file, like this: 75This variable can be set in your init file, like this:
72 (setq pop-up-frame-alist '((width . 80) (height . 20))) 76 (setq pop-up-frame-alist '((width . 80) (height . 20)))
73These supersede the values given in `default-frame-alist'.") 77These supersede the values given in `default-frame-alist',
78for pop-up frames."
79 :type '(repeat (cons :format "%v"
80 (symbol :tag "Parameter")
81 (sexp :tag "Value")))
82 :group 'frames)
74 83
75(setq pop-up-frame-function 84(setq pop-up-frame-function
76 (function (lambda () 85 (function (lambda ()