aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/octave-inf.el
diff options
context:
space:
mode:
authorStephen Eglen <[email protected]>1999-09-14 16:57:40 +0000
committerStephen Eglen <[email protected]>1999-09-14 16:57:40 +0000
commit3a5a5d36734bb227116aea316140d421b05d01a4 (patch)
tree427215316312ffc7bb13b383a257992f4d5205e3 /lisp/progmodes/octave-inf.el
parent46d74a69434029005ff9972fbbcaa9724fbf2376 (diff)
(inferior-octave-startup): Ensure -i and --no-line-editing are passed
to Octave by including them here rather than storing them in inferior-octave-startup-args.
Diffstat (limited to 'lisp/progmodes/octave-inf.el')
-rw-r--r--lisp/progmodes/octave-inf.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el
index 6f235c0f02..aa3e8a2c13 100644
--- a/lisp/progmodes/octave-inf.el
+++ b/lisp/progmodes/octave-inf.el
@@ -52,7 +52,7 @@ startup."
file)
:group 'octave-inferior)
-(defcustom inferior-octave-startup-args '("-i" "--no-line-editing")
+(defcustom inferior-octave-startup-args nil
"*List of command line arguments for the inferior Octave process.
For example, for suppressing the startup message and using `traditional'
mode, set this to (\"-q\" \"--traditional\")."
@@ -182,7 +182,8 @@ startup file, `~/.emacs-octave'."
(substring inferior-octave-buffer 1 -1)
inferior-octave-buffer
inferior-octave-program
- inferior-octave-startup-args)))
+ (append (list "-i" "--no-line-editing")
+ inferior-octave-startup-args))))
(set-process-filter proc 'inferior-octave-output-digest)
(setq comint-ptyp process-connection-type
inferior-octave-process proc