branch: externals/auctex-cont-latexmk commit ebaee85698bd48f8815a7235826aa55db8e53967 Author: Paul Nelson <ultr...@gmail.com> Commit: Paul Nelson <ultr...@gmail.com>
replace "delq nil ..." with "mapcan ..." --- auctex-cont-latexmk.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/auctex-cont-latexmk.el b/auctex-cont-latexmk.el index c2d68757ea..45e83f041f 100644 --- a/auctex-cont-latexmk.el +++ b/auctex-cont-latexmk.el @@ -151,10 +151,11 @@ Adapted from `TeX-format-filter'." "Process log file for current LaTeX document. Return a list of triples as in the docstring of `auctex-cont-latexmk-process-item'." - (delq nil - (mapcar (lambda (item) - (apply #'auctex-cont-latexmk-process-item item)) - (auctex-cont-latexmk--error-list (TeX-master-output-file "log"))))) + (mapcan + (lambda (err) + (when-let ((item (apply #'auctex-cont-latexmk-process-item err))) + (list item))) + (auctex-cont-latexmk--error-list (TeX-master-output-file "log")))) (defvar-local auctex-cont-latexmk--report-fn nil "Function provided by Flymake for reporting diagnostics.")