Variable: inferior-octave-startup-file

inferior-octave-startup-file is a customizable variable defined in octave.el.gz.

Value

"~/.emacs.d/init_octave.m"

Documentation

Name of the inferior Octave startup file.

The contents of this file are sent to the inferior Octave process on startup.

This variable was added, or its default value changed, in Emacs 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/octave.el.gz
(defcustom inferior-octave-startup-file
  (let ((n (file-name-nondirectory inferior-octave-program)))
    (locate-user-emacs-file (format "init_%s.m" n) (format ".emacs-%s" n)))
  "Name of the inferior Octave startup file.
The contents of this file are sent to the inferior Octave process on
startup."
  :type '(choice (const :tag "None" nil) file)
  :version "24.4")