CI: autofix rust code.
Some checks failed
rust-build Build rust-build has failed
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded

This commit is contained in:
fluxcdbot 2023-08-17 04:05:48 +00:00
parent 7cf1b2d2b8
commit 5686256039

View File

@ -5,12 +5,15 @@ where
C: AsRef<str>,
{
let escaped_file_contents = escape_elisp_string(file_contents);
let elisp_script = format!(r#"(progn
let elisp_script = format!(
r#"(progn
(erase-buffer)
(insert "{escaped_file_contents}")
(org-mode)
(message "%s" (pp-to-string (org-element-parse-buffer)))
)"#, escaped_file_contents=escaped_file_contents);
)"#,
escaped_file_contents = escaped_file_contents
);
let mut cmd = Command::new("emacs");
let proc = cmd
.arg("-q")