Commit 375ddced authored by João Távora's avatar João Távora
Browse files

Fix failing tests on CMUCL.

* sly-buttons.el (sly-button--searchable-buttons-at): Ensure the
non-overlay button is actually not an overlay.
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -175,7 +175,10 @@
(cl-incf sly-button--next-search-id))
(defun sly-button--searchable-buttons-at (pos filter)
(let ((non-overlay-button (sly-button-at pos 'sly-button 'no-error)))
(let* ((probe (sly-button-at pos 'sly-button 'no-error))
(non-overlay-button (and probe
(not (overlayp probe))
probe)))
(cl-remove-duplicates
(append (sly-button--overlays-at pos filter)
(if (and non-overlay-button
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment