Fix: (org-ql-agenda--header-line-format) Available width
Could cause an error with very long queries.
This commit is contained in:
parent
b2d54e4889
commit
6cd9341146
1 changed files with 4 additions and 4 deletions
|
|
@ -296,10 +296,10 @@ the `match' item in the custom command form."
|
|||
(query-formatted (propertize (org-ql-agenda--font-lock-string 'emacs-lisp-mode query-formatted)
|
||||
'help-echo query-formatted))
|
||||
(query-width (length query-formatted))
|
||||
(available-width (- (window-width)
|
||||
(length "In: ")
|
||||
(length "Query: ")
|
||||
query-width 4))
|
||||
(available-width (max 0 (- (window-width)
|
||||
(length "In: ")
|
||||
(length "Query: ")
|
||||
query-width 4)))
|
||||
(buffers-files-formatted (format "%S" buffers-files))
|
||||
(buffers-files-formatted (propertize (->> buffers-files-formatted
|
||||
(org-ql-agenda--font-lock-string 'emacs-lisp-mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue