From: Chong Yidong Date: Sun, 16 Sep 2012 04:52:38 +0000 (+0800) Subject: Mark display-buffer-function as obsolete. X-Git-Tag: emacs-24.2.90~273^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71ce58e752dfb8d384eddf2d40ee9d5861ede5e5;p=emacs.git Mark display-buffer-function as obsolete. * lisp/window.el (display-buffer-function): Mark as obsolete. Fixes: debbugs:12166 --- 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: **** `special-display-frame-alist' **** `special-display-buffer-names' **** `special-display-function' +**** `display-buffer-function' ** Completion diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 936a451ccb4..a7538e50d82 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2012-09-16 Chong Yidong * window.el (special-display-popup-frame): Doc fix (Bug#8853). + (display-buffer-function): Mark as obsolete. * progmodes/compile.el (compilation-parse-errors): Accept list 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." (function :tag "function")) :group 'windows) +(make-obsolete-variable 'display-buffer-function + 'display-buffer-alist "24.3") + ;; Eventually, we want to turn this into a defvar; instead of ;; customizing this, the user should use a `pop-up-frame-parameters' ;; alist entry in `display-buffer-base-action'.