mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak(literate): clear the tangle output buffer
While this is a hidden buffer, it's raised when an error occurs. In such situations, it can be a little confusing to see the result of every tangle to date instead of just the last tangle. It's easy enough to simple clear the buffer at the start of the tangle process.
This commit is contained in:
@ -68,7 +68,10 @@
|
||||
+literate-tangle--async-proc
|
||||
;; See `+literate-tangle--sync' for an explanation of the (progn ...) below.
|
||||
(start-process "tangle-config"
|
||||
(get-buffer-create " *tangle config*")
|
||||
(with-current-buffer
|
||||
(get-buffer-create " *tangle config*")
|
||||
(erase-buffer)
|
||||
(current-buffer))
|
||||
"emacs" "--batch"
|
||||
"-L" (file-name-directory (locate-library "org"))
|
||||
"--load" (doom-path doom-core-dir "doom")
|
||||
|
Reference in New Issue
Block a user