Skip to content

Commit

Permalink
Apply test classpath based on file location, not buffer contents. [#27
Browse files Browse the repository at this point in the history
…state:resolved]
  • Loading branch information
Espen Wiborg committed Mar 4, 2009
1 parent 212c2cf commit f6ba0db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/lisp/malabar-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ in the list")
(error "Class not found %s" unqualified)))

(defun malabar-classpath-of-buffer (&optional buffer)
(if (malabar-test-class-buffer-p (or buffer (current-buffer)))
(if (locate-file (buffer-file-name buffer)
(malabar-project-test-source-directories (malabar-maven-find-project-file buffer)))
"testClasspath"
"compileClasspath"))

Expand Down

0 comments on commit f6ba0db

Please sign in to comment.