When I create a fresh buffer with no backing file, switch into lisp-mode, and try evaluating a form via SLIME, I see the following error (in XEmacs):
,---- | Debugger entered--Lisp error: (void-variable buffer-name) | (get-buffer-window buffer-name) | (if (get-buffer-window buffer-name) (delete-windows-on buffer-name)) | (when (get-buffer-window buffer-name) (delete-windows-on buffer-name)) | slime-display-message("=> ONE-OF-PROBABILITY") `----
The function `slime-display-message' uses the free variable `buffer-name' here. Should it be using the /function/ `buffer-name' instead?