Skip to content

Commit

Permalink
Merge pull request #58 from dkellner/buffer-local-recompile
Browse files Browse the repository at this point in the history
Use the buffer's last command for recompile
  • Loading branch information
psibi authored Sep 25, 2024
2 parents 9a06e61 + a6d1dbb commit a46b954
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changelog.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

- Kill process if it's still running before starting a new one in the same
buffer.
- Bugfix: Use the buffer's last command for recompile, not the last one across
all buffers.

* 0.14

Expand Down
2 changes: 1 addition & 1 deletion justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ controls if we are going to display the process status on mode line."
(eq compilation-scroll-output 'first-error))
(set (make-local-variable 'compilation-auto-jump-to-next) t)))))

(defvar justl--compile-command nil
(defvar-local justl--compile-command nil
"Last shell command used to do a compilation; default for next compilation.")

(defun justl--make-process (command &optional args)
Expand Down

0 comments on commit a46b954

Please sign in to comment.