Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-ql-search: interactive form uses eq to compare a list instead of equal #430

Closed
alphapapa opened this issue Jun 13, 2024 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@alphapapa
Copy link
Owner

@@ -186,7 +186,7 @@ (cl-defun org-ql-search (buffers-files query &key narrow super-groups sort title
   (interactive (list (org-ql-view--complete-buffers-files)
                      (read-string "Query: " (when org-ql-view-query
                                               (format "%S" org-ql-view-query)))
-                     :narrow (or org-ql-view-narrow (eq current-prefix-arg '(4)))
+                     :narrow (or org-ql-view-narrow (equal current-prefix-arg '(4)))
                      :super-groups (org-ql-view--complete-super-groups)
                      :sort (org-ql-view--complete-sort)))
   ;; NOTE: Using `with-temp-buffer' is a hack to work around the fact that `make-local-variable'
@alphapapa alphapapa added the bug label Jun 13, 2024
@alphapapa alphapapa added this to the v0.8.7 milestone Jun 13, 2024
@alphapapa alphapapa self-assigned this Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant