Skip to content

Commit

Permalink
fix "command running in default buffer" warning prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
plandes committed Dec 19, 2023
1 parent cff4504 commit 817dd32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flex-compile-org-export.el
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ THIS is the object instance."
(with-slots (frame-focus-command frame-focus-delay) this
(when (and frame-focus-command (> (length frame-focus-command) 0))
(sit-for frame-focus-delay)
(shell-command frame-focus-command))))
(with-temp-buffer
(shell-command frame-focus-command (current-buffer))))))

(cl-defmethod flex-compiler-clean ((this org-export-flex-compiler)
&optional allp)
Expand Down

0 comments on commit 817dd32

Please sign in to comment.