aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vterm.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/vterm.el b/vterm.el
index 9c73f18..e64dfb3 100644
--- a/vterm.el
+++ b/vterm.el
@@ -104,7 +104,12 @@ the executable."
(when (vterm-module--cmake-is-available)
(let* ((vterm-directory
(shell-quote-argument
- (file-name-directory (locate-library "vterm"))))
+ ;; NOTE: This is a workaround to fix an issue with how the Emacs
+ ;; feature/native-comp branch changes the result of
+ ;; `(locate-library "vterm")'. See emacs-devel thread
+ ;; https://lists.gnu.org/archive/html/emacs-devel/2020-07/msg00306.html
+ ;; for a discussion.
+ (file-name-directory (locate-library "vterm.el" t))))
(make-commands
(concat
"cd " vterm-directory "; \