Tidy: Indentation

This commit is contained in:
Adam Porter 2022-06-25 10:58:33 -05:00
parent 5f058b9eee
commit 77916a1c4f

View file

@ -175,14 +175,15 @@ single predicate)."
(--select (not (or (string-match-p (rx bos (1+ (not (any ":"))) ":") it) (--select (not (or (string-match-p (rx bos (1+ (not (any ":"))) ":") it)
(< (length it) org-ql-find-snippet-minimum-token-length))) (< (length it) org-ql-find-snippet-minimum-token-length)))
(split-string str nil t (rx space))) (split-string str nil t (rx space)))
snippet-regexp (when query-tokens snippet-regexp
;; Limiting each context word to 15 characters (when query-tokens
;; prevents excessively long, non-word strings ;; Limiting each context word to 15 characters
;; from ending up in snippets, which can ;; prevents excessively long, non-word strings
;; adversely affect performance. ;; from ending up in snippets, which can
(rx-to-string `(seq (optional (repeat 1 3 (repeat 1 15 (not space)) (0+ space))) ;; adversely affect performance.
bow (or ,@query-tokens) (0+ (not space)) (rx-to-string `(seq (optional (repeat 1 3 (repeat 1 15 (not space)) (0+ space)))
(optional (repeat 1 3 (0+ space) (repeat 1 15 (not space)))))))))) bow (or ,@query-tokens) (0+ (not space))
(optional (repeat 1 3 (0+ space) (repeat 1 15 (not space))))))))))
(org-ql-select buffers-files (org-ql--query-string-to-sexp (concat query-prefix str)) (org-ql-select buffers-files (org-ql--query-string-to-sexp (concat query-prefix str))
:action #'action)))))) :action #'action))))))
;; NOTE: It seems that the `completing-read' machinery can call, ;; NOTE: It seems that the `completing-read' machinery can call,