1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(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.
This commit is contained in:
Stephen Eglen 1999-09-14 16:57:40 +00:00
parent 46d74a6943
commit 3a5a5d3673

View File

@ -52,7 +52,7 @@ startup."
file) file)
:group 'octave-inferior) :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. "*List of command line arguments for the inferior Octave process.
For example, for suppressing the startup message and using `traditional' For example, for suppressing the startup message and using `traditional'
mode, set this to (\"-q\" \"--traditional\")." mode, set this to (\"-q\" \"--traditional\")."
@ -182,7 +182,8 @@ startup file, `~/.emacs-octave'."
(substring inferior-octave-buffer 1 -1) (substring inferior-octave-buffer 1 -1)
inferior-octave-buffer inferior-octave-buffer
inferior-octave-program 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) (set-process-filter proc 'inferior-octave-output-digest)
(setq comint-ptyp process-connection-type (setq comint-ptyp process-connection-type
inferior-octave-process proc inferior-octave-process proc