aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
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!")))))