Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cider-popup.el
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ by adding BUFFER-NAME to the `special-display-buffer-names' list."
;; another time through `cider-popup-buffer-display'):
(if (and (boundp 'special-display-buffer-names)
(seq-find (lambda (entry)
(equal (car entry) buffer-name))
(equal (if (listp entry) (car entry) entry) buffer-name))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because code in function cider-popup-display-buffer falsely assumes that each element of special-display-buffer-names is a list. In fact and as documented, each element can be either a string or a list (the car of which is a string).

Can you add some variant of this as a comment here for clarity's sake?

special-display-buffer-names))
(progn
(display-buffer buffer-name)
Expand Down