[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 98/287: Modified ergoemacs-init not to depend on anything...
From: |
Matthew Fidler |
Subject: |
[elpa] 98/287: Modified ergoemacs-init not to depend on anything... |
Date: |
Wed, 02 Jul 2014 14:44:58 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 6b380eb8e24397ea151bad7f2f9916d04c39e3be
Author: Matthew L. Fidler <address@hidden>
Date: Mon Jun 16 10:36:11 2014 -0500
Modified ergoemacs-init not to depend on anything...
---
Cask | 1 +
test/ergoemacs-init.el | 22 ++++++----------------
2 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/Cask b/Cask
index 16fc7dd..14d186c 100644
--- a/Cask
+++ b/Cask
@@ -6,6 +6,7 @@
"bash-us.txt" "os_x_qwerty.dict.txt")
(development
+ (depends-on "keyfreq")
(depends-on "f")
(depends-on "ecukes")
(depends-on "ert-runner")
diff --git a/test/ergoemacs-init.el b/test/ergoemacs-init.el
index 9a4cff9..97b6d94 100644
--- a/test/ergoemacs-init.el
+++ b/test/ergoemacs-init.el
@@ -29,30 +29,20 @@
;;; Code:
;; Init file for test suite.
-(require 'ergoemacs-mode)
-(require 'keyfreq-mode)
-(require 'f)
-(require 's)
-(require 'dash)
-(require 'el-mock)
-(require 'cask)
-
(defvar ergoemacs-test--test-path
- (f-dirname (f-this-file)))
+ (file-name-directory (or load-file-name (buffer-file-name))))
(defvar ergoemacs-test--root-path
- (f-parent ergoemacs-test--test-path))
+ (file-name-directory (substring ergoemacs-test--test-path 0 -1)))
(defvar ergoemacs-test--vendor-path
- (f-expand "vendor" ergoemacs-test--root-path))
-
-
-(load (f-expand "ergoemacs-mode" ergoemacs-test--root-path))
+ (expand-file-name "vendor" ergoemacs-test--root-path))
(unless (require 'ert nil 'noerror)
- (require 'ert (f-expand "ert" ergoemacs-test--vendor-path)))
+ (add-to-list 'load-path ergoemacs-test--vendor-path)
+ (require 'ert (expand-file-name "ert" ergoemacs-test--vendor-path)))
-(add-to-list 'load-path ergoemacs-test--root-path)
+(require 'ergoemacs-mode)
(defvar ergoemacs-test-lorem-ipsum
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
- [elpa] 142/287: Makefile fixes, (continued)
- [elpa] 142/287: Makefile fixes, Matthew Fidler, 2014/07/02
- [elpa] 194/287: Fix Issue #238, Matthew Fidler, 2014/07/02
- [elpa] 201/287: Modify apps-copy test to use ert should instead of shoud ret, Matthew Fidler, 2014/07/02
- [elpa] 122/287: Fix byte-compile files, Matthew Fidler, 2014/07/02
- [elpa] 123/287: Add w32-shell-execute for ignoring linux byte-compile errors, Matthew Fidler, 2014/07/02
- [elpa] 99/287: Remove ergoemacs-test.el, Matthew Fidler, 2014/07/02
- [elpa] 110/287: Fix Byte Compiler issues for ergoemacs-functions.el, Matthew Fidler, 2014/07/02
- [elpa] 120/287: Removed some of the issues with ergoemacs-theme-engine.el, Matthew Fidler, 2014/07/02
- [elpa] 105/287: move misplaced function, Matthew Fidler, 2014/07/02
- [elpa] 187/287: Change to eieio-named, Matthew Fidler, 2014/07/02
- [elpa] 98/287: Modified ergoemacs-init not to depend on anything...,
Matthew Fidler <=
- [elpa] 137/287: Get old-style fixed & variable layouts, Matthew Fidler, 2014/07/02
- [elpa] 143/287: Make test dir the same as work dir, Matthew Fidler, 2014/07/02
- [elpa] 196/287: Clean up open last closed buffer. (Issue #237), Matthew Fidler, 2014/07/02
- [elpa] 100/287: Reduce Readme.md and add build status, Matthew Fidler, 2014/07/02
- [elpa] 94/287: Fixed shortcut keys., Matthew Fidler, 2014/07/02
- [elpa] 127/287: Update documentation again., Matthew Fidler, 2014/07/02
- [elpa] 203/287: Fix the C-e test, Matthew Fidler, 2014/07/02
- [elpa] 198/287: More flexible redo, Issue #239, Matthew Fidler, 2014/07/02
- [elpa] 96/287: Fix shortcut keys again., Matthew Fidler, 2014/07/02
- [elpa] 199/287: Update ergoemacs-test-layout so it wont parse the function, Matthew Fidler, 2014/07/02