aboutsummaryrefslogtreecommitdiff
path: root/vterm.el
diff options
context:
space:
mode:
authorJimmy Yuen Ho Wong <wyuenho@gmail.com>2021-01-18 11:05:28 +0000
committerJimmy Yuen Ho Wong <wyuenho@gmail.com>2021-01-18 11:05:28 +0000
commita08cfe25cdb92fc093ded89900d94f13a9d3dc59 (patch)
tree2527c7594111d11f91f72b09d7078228ca32878e /vterm.el
parent9d2ef5e535e79781a0c1d2523f82d096eb48765f (diff)
Put module compilation buffer in compilation mode
Diffstat (limited to 'vterm.el')
-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!")))))