summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-09-10 14:52:37 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-09-10 14:52:37 -0400
commit8319e0bf55c9058f723ed150605d4614f79b0d5e (patch)
treeff7b8bc95b7f006914077712737163defd061f70 /lisp/info.el
parent3134906c9184b5b525d1b2f3251dcbd0c3c6ab71 (diff)
downloademacs-8319e0bf55c9058f723ed150605d4614f79b0d5e.tar.gz
Tweaks to display-buffer default actions; remove same-window-* autoload forms.
* lisp/window.el (display-buffer-alist): Add entry for buffers previously handled same-window-*. (display-buffer-alist, display-buffer-default-action) (display-buffer-overriding-action): Mark as risky. (display-buffer-alist): Document action function changes. (display-buffer--same-window-action) (display-buffer--other-frame-action): New variables. (switch-to-buffer, display-buffer-other-frame): Use them. (display-buffer): Rename reuse-frame entry to reusable-frames. (display-buffer-reuse-selected-window): Function deleted. (display-buffer-reuse-window): Handle reusable-frames alist entry. If it's omitted, check pop-up-frames/display-buffer-reuse-frames. (display-buffer-special): New function. (display-buffer--maybe-pop-up-frame-or-window): Rename from display-buffer-reuse-or-pop-window. Split off special-display part into display-buffer-special. (display-buffer-use-some-window): Don't perform any special pop-up-frames handling. (pop-to-buffer): Use window-normalize-buffer-to-switch-to. * lisp/cmuscheme.el: * lisp/ielm.el: * lisp/shell.el: * lisp/mail/sendmail.el: * lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names. * lisp/cus-edit.el: * lisp/info.el: * lisp/net/rlogin.el: * lisp/net/telnet.el: * lisp/progmodes/gud.el: Don't set same-window-regexps.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 191e75f9750..f6afeafc446 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -613,8 +613,6 @@ in `Info-file-supports-index-cookies-list'."
(let (same-window-buffer-names same-window-regexps)
(info file-or-node)))
-;;;###autoload (add-hook 'same-window-regexps (purecopy "\\*info\\*\\(\\|<[0-9]+>\\)"))
-
;;;###autoload (put 'info 'info-file (purecopy "emacs"))
;;;###autoload
(defun info (&optional file-or-node buffer)