diff options
| author | Richard M. Stallman | 1998-11-22 15:35:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-11-22 15:35:02 +0000 |
| commit | 0c966f88cd9d5eaa2480d0b0168b93dbe481c486 (patch) | |
| tree | e7766503eea8a3022855aafdd413fbff97a2dc36 | |
| parent | fad22e2e9cc5452634358dc690dcec16b4fe84ae (diff) | |
| download | emacs-0c966f88cd9d5eaa2480d0b0168b93dbe481c486.tar.gz emacs-0c966f88cd9d5eaa2480d0b0168b93dbe481c486.zip | |
(initial-frame-alist): Add defcustom.
| -rw-r--r-- | lisp/frame.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index fc8b6a27caf..4c392a5895c 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -32,7 +32,7 @@ function, which should take an alist of parameters as its argument.") | |||
| 32 | ;;; The initial value given here for used to ask for a minibuffer. | 32 | ;;; The initial value given here for used to ask for a minibuffer. |
| 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 | (defvar 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))) |
| @@ -51,7 +51,11 @@ as it appears, you need to use this three-step process: | |||
| 51 | * Set `default-frame-alist' to override these options so that they | 51 | * Set `default-frame-alist' to override these options so that they |
| 52 | don't affect subsequent frames. | 52 | don't affect subsequent frames. |
| 53 | * Set `initial-frame-alist' in a way that matches the X resources, | 53 | * Set `initial-frame-alist' in a way that matches the X resources, |
| 54 | to override what you put in `default-frame-alist'.") | 54 | to override what you put in `default-frame-alist'." |
| 55 | :type '(repeat (cons :format "%v" | ||
| 56 | (symbol :tag "Parameter") | ||
| 57 | (sexp :tag "Value"))) | ||
| 58 | :group 'frames) | ||
| 55 | 59 | ||
| 56 | (defvar minibuffer-frame-alist '((width . 80) (height . 2)) | 60 | (defvar minibuffer-frame-alist '((width . 80) (height . 2)) |
| 57 | "Alist of frame parameters for initially creating a minibuffer frame. | 61 | "Alist of frame parameters for initially creating a minibuffer frame. |