branch: elpa/idris-mode
commit 8415d227bbbe916cb1b17f1c5daa2a615a47259e
Author: Marek <[email protected]>
Commit: Marek <[email protected]>

    Ensure we can eval idris-commands-test buffer individually in emacs
---
 test/idris-commands-test.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/idris-commands-test.el b/test/idris-commands-test.el
index cb5825f2c76..39bd20a9b98 100644
--- a/test/idris-commands-test.el
+++ b/test/idris-commands-test.el
@@ -21,6 +21,10 @@
 
 ;;; Code:
 
+;; to load idris-test-utils
+(let ((test-dir (file-name-directory (or load-file-name buffer-file-name))))
+  (add-to-list 'load-path test-dir))
+
 (require 'idris-commands)
 (require 'idris-test-utils)
 

Reply via email to