[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 1864b65af6: ; Minor fix for treesit--install-language-grammar-1
|
From: |
Yuan Fu |
|
Subject: |
emacs-29 1864b65af6: ; Minor fix for treesit--install-language-grammar-1 (bug#60465) |
|
Date: |
Sun, 1 Jan 2023 19:17:49 -0500 (EST) |
branch: emacs-29
commit 1864b65af6051f7028beba1a19dfe8bd2eed6574
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; Minor fix for treesit--install-language-grammar-1 (bug#60465)
* lisp/treesit.el (treesit--install-language-grammar-1): Fix.
---
lisp/treesit.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 0b512cf866..1ca72af5c2 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -2772,6 +2772,8 @@ function signals an error."
(rx bos (+ anychar) ".o" eos))
"-o" ,lib-name))
;; Copy out.
+ (unless (file-exists-p out-dir)
+ (make-directory out-dir t))
(copy-file lib-name (file-name-as-directory out-dir) t t)
(message "Library installed to %s/%s" out-dir lib-name))
(when (file-exists-p workdir)
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 1864b65af6: ; Minor fix for treesit--install-language-grammar-1 (bug#60465),
Yuan Fu <=