summaryrefslogtreecommitdiff
path: root/support/emacs
diff options
context:
space:
mode:
authorschinz <schinz@epfl.ch>2003-03-19 10:24:11 +0000
committerschinz <schinz@epfl.ch>2003-03-19 10:24:11 +0000
commit0d66e06ff4fc94991394866c5c7967cc185dfa78 (patch)
tree30cb81d9ebd0b1ed32081fb826901e6ba81b557b /support/emacs
parent04577625cb4cb8951e23633ec517f47f2ef5161b (diff)
downloadscala-0d66e06ff4fc94991394866c5c7967cc185dfa78.tar.gz
scala-0d66e06ff4fc94991394866c5c7967cc185dfa78.tar.bz2
scala-0d66e06ff4fc94991394866c5c7967cc185dfa78.zip
- now use ":use" command to evaluate region, so...
- now use ":use" command to evaluate region, so that it is not necessary to wrap things in modules
Diffstat (limited to 'support/emacs')
-rw-r--r--support/emacs/inferior-scala-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/emacs/inferior-scala-mode.el b/support/emacs/inferior-scala-mode.el
index d97a5d14c3..b4a42f1a60 100644
--- a/support/emacs/inferior-scala-mode.el
+++ b/support/emacs/inferior-scala-mode.el
@@ -81,7 +81,7 @@ but customize `scala-default-interpreter' instead.")
(delete-file scala-tmp-file)
(setq scala-tmp-file (make-temp-file "scala_tmp")))
(write-region start end scala-tmp-file nil 'quiet)
- (scala-send-string ":l %s" scala-tmp-file))
+ (scala-send-string ":use %s" scala-tmp-file))
;;;###autoload
(defun scala-eval-buffer ()
@@ -103,13 +103,13 @@ Used for determining the default in the next one.")
(comint-check-source file-name)
(setq scala-prev-l/c-dir/file (cons (file-name-directory file-name)
(file-name-nondirectory file-name)))
- (scala-send-string ":l %s" file-name))
+ (scala-send-string ":load %s" file-name))
;;;###autoload
(defun scala-quit-interpreter ()
"Quit Scala interpreter."
(interactive)
(scala-check-interpreter-running)
- (scala-send-string "\n:q"))
+ (scala-send-string "\n:quit"))
(provide 'inferior-scala-mode)