When display-buffer is called recursively, the value of purpose--alist in the outer call is used in the inner call as well, instead of not affecting it. Possible bugs include infinite recursion if the action argument of display-buffer contains a display function that calls switch-to-buffer (which in itself is wrong coding, but still can happen), seen in #139.
When
display-buffer
is called recursively, the value ofpurpose--alist
in the outer call is used in the inner call as well, instead of not affecting it. Possible bugs include infinite recursion if theaction
argument ofdisplay-buffer
contains a display function that callsswitch-to-buffer
(which in itself is wrong coding, but still can happen), seen in #139.