aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-09-16 12:52:38 +0800
committerChong Yidong2012-09-16 12:52:38 +0800
commit71ce58e752dfb8d384eddf2d40ee9d5861ede5e5 (patch)
tree0245fca5e4b1ac82b759183f447597b6bbff2291
parentfdc2806d0b023bc6a3c6c8abf8cfc72b8214a68b (diff)
downloademacs-71ce58e752dfb8d384eddf2d40ee9d5861ede5e5.tar.gz
emacs-71ce58e752dfb8d384eddf2d40ee9d5861ede5e5.zip
Mark display-buffer-function as obsolete.
* lisp/window.el (display-buffer-function): Mark as obsolete. Fixes: debbugs:12166
-rw-r--r--etc/NEWS1
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/window.el3
3 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4c6ceae1688..3344158b73c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -735,6 +735,7 @@ in Emacs 24.1:
735**** `special-display-frame-alist' 735**** `special-display-frame-alist'
736**** `special-display-buffer-names' 736**** `special-display-buffer-names'
737**** `special-display-function' 737**** `special-display-function'
738**** `display-buffer-function'
738 739
739** Completion 740** Completion
740 741
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 936a451ccb4..a7538e50d82 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,7 @@
12012-09-16 Chong Yidong <cyd@gnu.org> 12012-09-16 Chong Yidong <cyd@gnu.org>
2 2
3 * window.el (special-display-popup-frame): Doc fix (Bug#8853). 3 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4 (display-buffer-function): Mark as obsolete.
4 5
5 * progmodes/compile.el (compilation-parse-errors): Accept list 6 * progmodes/compile.el (compilation-parse-errors): Accept list
6 values similar to font-lock-keywords (Bug#12136). Suggested by 7 values similar to font-lock-keywords (Bug#12136). Suggested by
diff --git a/lisp/window.el b/lisp/window.el
index d9f3ccbd5c2..fccb68bd94a 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -4551,6 +4551,9 @@ of the window used."
4551 (function :tag "function")) 4551 (function :tag "function"))
4552 :group 'windows) 4552 :group 'windows)
4553 4553
4554(make-obsolete-variable 'display-buffer-function
4555 'display-buffer-alist "24.3")
4556
4554;; Eventually, we want to turn this into a defvar; instead of 4557;; Eventually, we want to turn this into a defvar; instead of
4555;; customizing this, the user should use a `pop-up-frame-parameters' 4558;; customizing this, the user should use a `pop-up-frame-parameters'
4556;; alist entry in `display-buffer-base-action'. 4559;; alist entry in `display-buffer-base-action'.