diff options
| author | Chong Yidong | 2012-08-26 21:42:18 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-26 21:42:18 +0800 |
| commit | 77f1f99cb0d69c1cddb0f1c5ef264fe5cd62d210 (patch) | |
| tree | 4ea19d124db49db4c0aa4159cab3296cf9b7a172 /lisp/window.el | |
| parent | 8b2e00a3297607e38e2be686bd2c7cab28f082d1 (diff) | |
| download | emacs-77f1f99cb0d69c1cddb0f1c5ef264fe5cd62d210.tar.gz emacs-77f1f99cb0d69c1cddb0f1c5ef264fe5cd62d210.zip | |
Make special-display-* and display-buffer-reuse-frames obsolete.
* lisp/window.el (special-display-regexps, special-display-frame-alist)
(special-display-buffer-names, special-display-function)
(display-buffer-reuse-frames): Mark as obsolete.
* lisp/progmodes/compile.el: Don't use display-buffer-reuse-frames.
* help.el (help-print-return-message): Don't treat
display-buffer-reuse-frames specially.
Diffstat (limited to 'lisp/window.el')
| -rw-r--r-- | lisp/window.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el index 16230003751..3599ff5527f 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -4460,8 +4460,7 @@ See also `special-display-regexps'." | |||
| 4460 | (repeat :tag "Arguments" (sexp))))) | 4460 | (repeat :tag "Arguments" (sexp))))) |
| 4461 | :group 'windows | 4461 | :group 'windows |
| 4462 | :group 'frames) | 4462 | :group 'frames) |
| 4463 | 4463 | (make-obsolete-variable 'special-display-buffer-names 'display-buffer-alist "24.3") | |
| 4464 | ;;;###autoload | ||
| 4465 | (put 'special-display-buffer-names 'risky-local-variable t) | 4464 | (put 'special-display-buffer-names 'risky-local-variable t) |
| 4466 | 4465 | ||
| 4467 | (defcustom special-display-regexps nil | 4466 | (defcustom special-display-regexps nil |
| @@ -4528,6 +4527,8 @@ See also `special-display-buffer-names'." | |||
| 4528 | (repeat :tag "Arguments" (sexp))))) | 4527 | (repeat :tag "Arguments" (sexp))))) |
| 4529 | :group 'windows | 4528 | :group 'windows |
| 4530 | :group 'frames) | 4529 | :group 'frames) |
| 4530 | (make-obsolete-variable 'special-display-regexps 'display-buffer-alist "24.3") | ||
| 4531 | (put 'special-display-regexps 'risky-local-variable t) | ||
| 4531 | 4532 | ||
| 4532 | (defun special-display-p (buffer-name) | 4533 | (defun special-display-p (buffer-name) |
| 4533 | "Return non-nil if a buffer named BUFFER-NAME gets a special frame. | 4534 | "Return non-nil if a buffer named BUFFER-NAME gets a special frame. |
| @@ -4569,6 +4570,7 @@ These supersede the values given in `default-frame-alist'." | |||
| 4569 | (symbol :tag "Parameter") | 4570 | (symbol :tag "Parameter") |
| 4570 | (sexp :tag "Value"))) | 4571 | (sexp :tag "Value"))) |
| 4571 | :group 'frames) | 4572 | :group 'frames) |
| 4573 | (make-obsolete-variable 'special-display-frame-alist 'display-buffer-alist "24.3") | ||
| 4572 | 4574 | ||
| 4573 | (defun special-display-popup-frame (buffer &optional args) | 4575 | (defun special-display-popup-frame (buffer &optional args) |
| 4574 | "Pop up a frame displaying BUFFER and return its window. | 4576 | "Pop up a frame displaying BUFFER and return its window. |
| @@ -4635,6 +4637,7 @@ with corresponding arguments to set up the quit-restore parameter | |||
| 4635 | of the window used." | 4637 | of the window used." |
| 4636 | :type 'function | 4638 | :type 'function |
| 4637 | :group 'frames) | 4639 | :group 'frames) |
| 4640 | (make-obsolete-variable 'special-display-function 'display-buffer-alist "24.3") | ||
| 4638 | 4641 | ||
| 4639 | (defcustom same-window-buffer-names nil | 4642 | (defcustom same-window-buffer-names nil |
| 4640 | "List of names of buffers that should appear in the \"same\" window. | 4643 | "List of names of buffers that should appear in the \"same\" window. |
| @@ -4707,6 +4710,7 @@ that frame." | |||
| 4707 | :type 'boolean | 4710 | :type 'boolean |
| 4708 | :version "21.1" | 4711 | :version "21.1" |
| 4709 | :group 'windows) | 4712 | :group 'windows) |
| 4713 | (make-obsolete-variable 'display-buffer-reuse-frames 'display-buffer-alist "24.3") | ||
| 4710 | 4714 | ||
| 4711 | (defcustom pop-up-windows t | 4715 | (defcustom pop-up-windows t |
| 4712 | "Non-nil means `display-buffer' should make a new window." | 4716 | "Non-nil means `display-buffer' should make a new window." |