branch: elpa/forth-mode
commit 1a05d27d8220828319543fa6961c80ea7607c6a4
Author: Lars Brinkhoff <[email protected]>
Commit: Lars Brinkhoff <[email protected]>
Fix loading backend file.
---
forth-interaction-mode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/forth-interaction-mode.el b/forth-interaction-mode.el
index c29bdb6402..4c8c820c6d 100644
--- a/forth-interaction-mode.el
+++ b/forth-interaction-mode.el
@@ -6,7 +6,8 @@
(defvar forth-words-cache nil)
(defvar forth-implementation nil)
(defvar forth-banner "")
-(defvar forth-backend-dir (concat default-directory "backend"))
+(defvar forth-backend-dir
+ (concat (file-name-directory load-file-name) "backend"))
(defvar forth-implementation-matches
'(("Gforth" . gforth)