Tidy: (org-ql-view--display) Take STRINGS instead of STRING

No need to allocate one large string just to insert it into the
buffer.
This commit is contained in:
Adam Porter 2023-12-24 01:10:27 -06:00
parent 0e39372146
commit a4bf5b0a92
2 changed files with 5 additions and 4 deletions

View file

@ -220,8 +220,7 @@ necessary."
(symbol (symbol-value super-groups))
(list super-groups))))
(setf strings (org-super-agenda--group-items strings))))
(org-ql-view--display :buffer buffer :header header
:string (s-join "\n" strings)))))
(org-ql-view--display :buffer buffer :header header :strings strings))))
;;;###autoload
(defun org-ql-search-block (query)