Function: inferior-octave-resync-dirs

inferior-octave-resync-dirs is an interactive and byte-compiled function defined in octave.el.gz.

Signature

(inferior-octave-resync-dirs &optional NOERROR)

Documentation

Resync the buffer's idea of the current directory.

This command queries the inferior Octave process about its current directory and makes this the current buffer's default directory.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/octave.el.gz
(defun inferior-octave-resync-dirs (&optional noerror)
  "Resync the buffer's idea of the current directory.
This command queries the inferior Octave process about its current
directory and makes this the current buffer's default directory."
  (interactive)
  (inferior-octave-send-list-and-digest '("disp (pwd ())\n"))
  (condition-case err
      (progn
        (cd (car inferior-octave-output-list))
        t)
    (error (unless noerror (signal (car err) (cdr err))))))