Commit c7da3b70 authored by Francesco Potortì's avatar Francesco Potortì
Browse files

(inferior-octave-mode): Use add-hook to

add inferior-octave-directory-tracker to the buffer-local value
of comint-input-filter-functions.
parent 87094c03
......@@ -153,10 +153,11 @@ Entry to this mode successively runs the hooks `comint-mode-hook' and
(setq comint-input-ring-file-name
(or (getenv "OCTAVE_HISTFILE") "~/.octave_hist")
comint-input-ring-size (or (getenv "OCTAVE_HISTSIZE") 1024)
comint-input-filter-functions '(inferior-octave-directory-tracker))
comint-input-ring-size (or (getenv "OCTAVE_HISTSIZE") 1024))
(set (make-local-variable 'comint-dynamic-complete-functions)
inferior-octave-dynamic-complete-functions)
(add-hook 'comint-input-filter-functions
'inferior-octave-directory-tracker nil t)
(comint-read-input-ring t)
(run-mode-hooks 'inferior-octave-mode-hook))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment