emacs-purpose
emacs-purpose copied to clipboard
purpose--alist not reset when display-buffer called recursively
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.