Skip to content

Commit 05cbb94

Browse files
authored
Quick fix for invalid seq. (#2276)
* Quick fix for invalid seq. * Revet and force hash table check. * Define function overloading for hash-table type.
1 parent 37ccb8e commit 05cbb94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lsp-mode.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5687,6 +5687,10 @@ perform the request synchronously."
56875687
(display-action . ,display-action))))
56885688
(xref--show-xrefs xrefs display-action)))
56895689

5690+
(cl-defmethod seq-empty-p ((ht hash-table))
5691+
"Function `seq-empty-p' for hash-table."
5692+
(hash-table-empty-p ht))
5693+
56905694
(cl-defun lsp-find-locations (method &optional extra &key display-action references?)
56915695
"Send request named METHOD and get cross references of the symbol under point.
56925696
EXTRA is a plist of extra parameters.

0 commit comments

Comments
 (0)