aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorChong Yidong2012-08-26 21:42:18 +0800
committerChong Yidong2012-08-26 21:42:18 +0800
commit77f1f99cb0d69c1cddb0f1c5ef264fe5cd62d210 (patch)
tree4ea19d124db49db4c0aa4159cab3296cf9b7a172 /lisp/progmodes
parent8b2e00a3297607e38e2be686bd2c7cab28f082d1 (diff)
downloademacs-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/progmodes')
-rw-r--r--lisp/progmodes/compile.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 21a323d8b45..eb966e8a90d 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -2461,10 +2461,7 @@ and overlay is highlighted between MK and END-MK."
2461 ;; the error location if the two buffers are in two 2461 ;; the error location if the two buffers are in two
2462 ;; different frames. So don't do it if it's not necessary. 2462 ;; different frames. So don't do it if it's not necessary.
2463 pre-existing 2463 pre-existing
2464 (let ((display-buffer-reuse-frames t) 2464 (display-buffer (marker-buffer msg))))
2465 (pop-up-windows t))
2466 ;; Pop up a window.
2467 (display-buffer (marker-buffer msg)))))
2468 (highlight-regexp (with-current-buffer (marker-buffer msg) 2465 (highlight-regexp (with-current-buffer (marker-buffer msg)
2469 ;; also do this while we change buffer 2466 ;; also do this while we change buffer
2470 (compilation-set-window w msg) 2467 (compilation-set-window w msg)