skip-header

This commit is contained in:
bth 2024-07-18 22:11:03 -07:00
commit 159b3e6fe8

View file

@ -221,7 +221,7 @@ And the option not to insert the um-journal-header.
(message (format "creating %s" next-file))
)
(defun um-next-shell (dir &optional descriptor header)
(defun um-next-shell (dir &optional descriptor skip-header)
"Calls um next in the provided dir.
With the option not to leave behind the um-journal-header.
@ -233,7 +233,7 @@ Returns the value of next-file computed by um next
(setq next-file (shell-command-to-string
(concat "export UMNEXTPRINT=true; um next"
(concat " " descriptor))))
(um-next next-file nil t)
(um-next next-file nil skip-header)
next-file
)
)