[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/forth-mode 3ef319bf2d 3/3: Fix forth-load-file so it works
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/forth-mode 3ef319bf2d 3/3: Fix forth-load-file so it works with paths with spaces. |
Date: |
Sat, 14 Oct 2023 07:00:29 -0400 (EDT) |
branch: elpa/forth-mode
commit 3ef319bf2da443cf9f999f42bf854160b32448a0
Author: Andrew Dudash <andrew.dudash@protonmail.com>
Commit: Lars Brinkhoff <lars@nocrew.org>
Fix forth-load-file so it works with paths with spaces.
---
forth-interaction-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/forth-interaction-mode.el b/forth-interaction-mode.el
index 3481a078fd..dc9becb99b 100644
--- a/forth-interaction-mode.el
+++ b/forth-interaction-mode.el
@@ -163,7 +163,7 @@
;;;###autoload
(defun forth-load-file (file)
(interactive (list (buffer-file-name (current-buffer))))
- (let ((result (forth-interaction-send-raw-result "include " file)))
+ (let ((result (forth-interaction-send-raw-result (format "s\" %s\" included"
file))))
(setq result (forth-scrub result t))
(if (< (cl-count ?\n result) 2)
(message "%s" result)