changeset 25719:f440228994ba

(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.
author Stephen Eglen <stephen@gnu.org>
date Tue, 14 Sep 1999 16:57:40 +0000
parents 096f3085e905
children 56f5519d4750
files lisp/progmodes/octave-inf.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/octave-inf.el	Tue Sep 14 15:30:15 1999 +0000
+++ b/lisp/progmodes/octave-inf.el	Tue Sep 14 16:57:40 1999 +0000
@@ -52,7 +52,7 @@
 		 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 @@
 	       (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