mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
Don't ruin my window layout please
This commit is contained in:
parent
b429d8a12e
commit
8a766c3c86
1 changed files with 4 additions and 3 deletions
|
|
@ -116,9 +116,10 @@
|
|||
(second-command (ll/build-clang-command (lls/un-trampify file) action))
|
||||
(pipe (if (y-or-n-p "Diff assembly (y) or debug (n)? ")
|
||||
">" "2>")))
|
||||
(when (not
|
||||
(and (zerop (shell-command (format "%s %s /tmp/old.asm" comm pipe)))
|
||||
(zerop (shell-command (format "%s %s /tmp/new.asm" second-command pipe)))))
|
||||
(when (save-window-excursion
|
||||
(not
|
||||
(and (zerop (shell-command (format "%s %s /tmp/old.asm" comm pipe)))
|
||||
(zerop (shell-command (format "%s %s /tmp/new.asm" second-command pipe))))))
|
||||
(error "One of the commands failed"))
|
||||
(ediff-files "/tmp/old.asm" "/tmp/new.asm")))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue