diff options
| author | Karoly Lorentey | 2004-11-06 17:52:02 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-06 17:52:02 +0000 |
| commit | 65ea79492334e2ef7b5b4e0d23b6f68ba2f4d0bb (patch) | |
| tree | 853cf391ca1abda4f4ccd6fe8e7bb43f7c86ee08 /lisp/cus-edit.el | |
| parent | e0bc17abe6979d607e8de4684dddb96e53c60065 (diff) | |
| parent | 392cf16dd0ee9358f8af0cd0d8048b822456bbeb (diff) | |
| download | emacs-65ea79492334e2ef7b5b4e0d23b6f68ba2f4d0bb.tar.gz emacs-65ea79492334e2ef7b5b4e0d23b6f68ba2f4d0bb.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-653
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-654
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-655
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-656
Update from CVS: lisp/man.el (Man-xref-normal-file): Fix help-echo.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-657
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-658
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-659
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-660
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-661
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-662
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-663
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-664
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-665
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-666
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-667
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-668
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-669
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-670
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-671
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-64
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-65
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-66
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-67
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-68
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-264
Diffstat (limited to 'lisp/cus-edit.el')
| -rw-r--r-- | lisp/cus-edit.el | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 9e0efc5d3d0..89fcb633133 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -896,15 +896,14 @@ then prompt for the MODE to customize." | |||
| 896 | (let ((name (format "*Customize Group: %s*" | 896 | (let ((name (format "*Customize Group: %s*" |
| 897 | (custom-unlispify-tag-name group)))) | 897 | (custom-unlispify-tag-name group)))) |
| 898 | (if (get-buffer name) | 898 | (if (get-buffer name) |
| 899 | (let ((window (selected-window)) | 899 | (let ( |
| 900 | ;; Copied from `custom-buffer-create-other-window'. | 900 | ;; Copied from `custom-buffer-create-other-window'. |
| 901 | (pop-up-windows t) | 901 | (pop-up-windows t) |
| 902 | (special-display-buffer-names nil) | 902 | (special-display-buffer-names nil) |
| 903 | (special-display-regexps nil) | 903 | (special-display-regexps nil) |
| 904 | (same-window-buffer-names nil) | 904 | (same-window-buffer-names nil) |
| 905 | (same-window-regexps nil)) | 905 | (same-window-regexps nil)) |
| 906 | (pop-to-buffer name) | 906 | (pop-to-buffer name)) |
| 907 | (select-window window)) | ||
| 908 | (custom-buffer-create-other-window | 907 | (custom-buffer-create-other-window |
| 909 | (list (list group 'custom-group)) | 908 | (list (list group 'custom-group)) |
| 910 | name | 909 | name |
| @@ -1240,21 +1239,20 @@ that option." | |||
| 1240 | 1239 | ||
| 1241 | ;;;###autoload | 1240 | ;;;###autoload |
| 1242 | (defun custom-buffer-create-other-window (options &optional name description) | 1241 | (defun custom-buffer-create-other-window (options &optional name description) |
| 1243 | "Create a buffer containing OPTIONS. | 1242 | "Create a buffer containing OPTIONS, and display it in another window. |
| 1243 | The result includes selecting that window. | ||
| 1244 | Optional NAME is the name of the buffer. | 1244 | Optional NAME is the name of the buffer. |
| 1245 | OPTIONS should be an alist of the form ((SYMBOL WIDGET)...), where | 1245 | OPTIONS should be an alist of the form ((SYMBOL WIDGET)...), where |
| 1246 | SYMBOL is a customization option, and WIDGET is a widget for editing | 1246 | SYMBOL is a customization option, and WIDGET is a widget for editing |
| 1247 | that option." | 1247 | that option." |
| 1248 | (unless name (setq name "*Customization*")) | 1248 | (unless name (setq name "*Customization*")) |
| 1249 | (let ((window (selected-window)) | 1249 | (let ((pop-up-windows t) |
| 1250 | (pop-up-windows t) | ||
| 1251 | (special-display-buffer-names nil) | 1250 | (special-display-buffer-names nil) |
| 1252 | (special-display-regexps nil) | 1251 | (special-display-regexps nil) |
| 1253 | (same-window-buffer-names nil) | 1252 | (same-window-buffer-names nil) |
| 1254 | (same-window-regexps nil)) | 1253 | (same-window-regexps nil)) |
| 1255 | (pop-to-buffer (custom-get-fresh-buffer name)) | 1254 | (pop-to-buffer (custom-get-fresh-buffer name)) |
| 1256 | (custom-buffer-create-internal options description) | 1255 | (custom-buffer-create-internal options description))) |
| 1257 | (select-window window))) | ||
| 1258 | 1256 | ||
| 1259 | (defcustom custom-reset-button-menu nil | 1257 | (defcustom custom-reset-button-menu nil |
| 1260 | "If non-nil, only show a single reset button in customize buffers. | 1258 | "If non-nil, only show a single reset button in customize buffers. |