diff options
author | schinz <schinz@epfl.ch> | 2003-03-19 10:24:11 +0000 |
---|---|---|
committer | schinz <schinz@epfl.ch> | 2003-03-19 10:24:11 +0000 |
commit | 0d66e06ff4fc94991394866c5c7967cc185dfa78 (patch) | |
tree | 30cb81d9ebd0b1ed32081fb826901e6ba81b557b /support | |
parent | 04577625cb4cb8951e23633ec517f47f2ef5161b (diff) | |
download | scala-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')
-rw-r--r-- | support/emacs/inferior-scala-mode.el | 6 |
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) |