Subject: Re: bug#15189: 24.3.50; display-buffer does not work well with custom frames.

From: martin rudalics <[email-masked]>
Date: Mon, 26 Aug 2013 17:01:24 +0200

> Yes, that is correct -- with the additional magic of
 > lawlist-display-buffer-function.  My workaround is simply calling
 > find-file at the very end of the lawlist-display-buffer-function,
 > which defeats the purpose of using display-buffer.

You mean here?

     (display-buffer
       (find-file buffer-filename))

Why can't you use

     (display-buffer
       (find-file-noselect buffer-filename))

instead?

martin