emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/lentic 5cdfda936c 305/333: Ensure script directory tree


From: ELPA Syncer
Subject: [elpa] externals/lentic 5cdfda936c 305/333: Ensure script directory tree is created
Date: Tue, 27 Feb 2024 13:00:47 -0500 (EST)

branch: externals/lentic
commit 5cdfda936c155b4a1ed123c675878a221ce48379
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>

    Ensure script directory tree is created
---
 lentic-script.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lentic-script.el b/lentic-script.el
index 93b3b9022a..530d21690e 100644
--- a/lentic-script.el
+++ b/lentic-script.el
@@ -50,7 +50,10 @@
    ".org"))
 
 (defun lentic-script-lentic-file ()
-  (lentic-script--lentic-file-1 (buffer-file-name)))
+  (let ((l
+         (lentic-script--lentic-file-1 (buffer-file-name))))
+    (make-directory (file-name-nondirectory l) t)
+    l))
 
 ;;;###autoload
 (defun lentic-python-script-init ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]