mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(inferior-octave-mode): Use add-hook to
add inferior-octave-directory-tracker to the buffer-local value of comint-input-filter-functions.
This commit is contained in:
parent
01dbc75e9e
commit
e9886e8899
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user