diff options
| author | Richard M. Stallman | 1999-07-06 18:27:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-07-06 18:27:40 +0000 |
| commit | 0b9d32af70d94b4b819e285f8aac65a45dbc9221 (patch) | |
| tree | 53cb1a8d0ed0051f8d6e378b57781cf4dca67693 | |
| parent | 2df32500abcc5219a66119d2a6b32cebf97e7722 (diff) | |
| download | emacs-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.el | 23 |
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. |
| 37 | You can set this in your `.emacs' file; for example, | 37 | You 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))) |
| 39 | Parameters specified here supersede the values given in `default-frame-alist'. | 39 | 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: | |||
| 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. |
| 62 | You can set this in your `.emacs' file; for example, | 62 | You 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))) |
| 65 | Parameters specified here supersede the values given in | 65 | Parameters 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. |
| 70 | Pop-up frames are used for completions, help, and the like. | 74 | Pop-up frames are used for completions, help, and the like. |
| 71 | This variable can be set in your init file, like this: | 75 | This 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))) |
| 73 | These supersede the values given in `default-frame-alist'.") | 77 | These supersede the values given in `default-frame-alist', |
| 78 | for 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 () |