-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
I tried to test nano-emacs using the "Quick test" instructions provided in the README (i.e. running emacs -q -l nano.el), but they didn't work. Emacs throws the following error:
eval-buffer: Cannot open load file: No such file or directory, nano-layout
This is a result of emacs not being able to find the module being required. I suspect this is a regression caused by commit 5ff5f58, which removes the code that adds the current directory to the load path. Applying the following patch fixes the issue, and allows the Quick test instructions to work again.
diff --git a/nano.el b/nano.el
index a55ddd0..5ad94a0 100644
--- a/nano.el
+++ b/nano.el
@@ -17,6 +17,8 @@
;; ---------------------------------------------------------------------
(package-initialize)
+(add-to-list 'load-path ".")
+
;; Default layout (optional)
(require 'nano-layout)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels