aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Bozzola <sbozzolator@gmail.com>2021-01-20 17:12:17 -0700
committerGitHub <noreply@github.com>2021-01-20 17:12:17 -0700
commitfa8e831410b0f5ab0f72f0561bbb9b36c906d721 (patch)
tree2527c7594111d11f91f72b09d7078228ca32878e
parent9d2ef5e535e79781a0c1d2523f82d096eb48765f (diff)
parenta08cfe25cdb92fc093ded89900d94f13a9d3dc59 (diff)
Merge pull request #484 from wyuenho/compilation-mode
Put module compilation buffer in compilation mode
-rw-r--r--vterm.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/vterm.el b/vterm.el
index 3ea54bd..14cdcea 100644
--- a/vterm.el
+++ b/vterm.el
@@ -122,7 +122,9 @@ the executable."
cd -"))
(buffer (get-buffer-create vterm-install-buffer-name)))
(pop-to-buffer buffer)
- (if (zerop (call-process "sh" nil buffer t "-c" make-commands))
+ (compilation-mode)
+ (if (zerop (let ((inhibit-read-only t))
+ (call-process "sh" nil buffer t "-c" make-commands)))
(message "Compilation of `emacs-libvterm' module succeeded")
(error "Compilation of `emacs-libvterm' module failed!")))))