Emacs 24.3 replaced window--display-buffer-2 to window--display-buffer

In revision Emacs 24 (r108484) Martin Rudalics simplified buffer display routines removing several ones and replace by (window--display-buffer buffer window type).

More info:
https://lists.gnu.org/archive/html/emacs-diffs/2012-11/msg00553.html

Cheers.