mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +00:00
That's a bug
This commit is contained in:
parent
f756c72a7e
commit
b429d8a12e
1 changed files with 2 additions and 2 deletions
|
|
@ -111,7 +111,7 @@
|
|||
(cdr compilation-arguments)))
|
||||
(call-interactively #'recompile)))))
|
||||
|
||||
(defun ll/diff-c-on-two-compilations (file )
|
||||
(defun ll/diff-c-on-two-compilations (file action)
|
||||
(let ((comm (ll/build-clang-command (lls/un-trampify file) action))
|
||||
(second-command (ll/build-clang-command (lls/un-trampify file) action))
|
||||
(pipe (if (y-or-n-p "Diff assembly (y) or debug (n)? ")
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
(defun ll/act-on-c-file (file)
|
||||
(let* ((action (aml/read-action-map ll/c-file-action-map)))
|
||||
(if (eq action 'diff)
|
||||
(ll/diff-c-on-two-compilations file)
|
||||
(ll/diff-c-on-two-compilations file action)
|
||||
(let ((comm (ll/build-clang-command (lls/un-trampify file) action)))
|
||||
(compilation-start
|
||||
comm
|
||||
|
|
|
|||
Loading…
Reference in a new issue