We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5304e2f commit c5b1146Copy full SHA for c5b1146
auto-compile.el
@@ -272,7 +272,7 @@ non-nil."
272
(defun auto-compile--tree-member (elt tree &optional delete)
273
;; Also known as keycast--tree-member.
274
(and (listp tree)
275
- (if-let* ((pos (cl-position elt tree))
+ (if-let* ((pos (cl-position elt tree :test #'equal))
276
(mem (nthcdr pos tree)))
277
(cond ((not delete) mem)
278
((cdr mem)
0 commit comments