aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/octave-inf.el
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2005-09-10 15:05:44 +0000
committerEli Zaretskii <[email protected]>2005-09-10 15:05:44 +0000
commit4ca7c4680d02eec2260a920e834425d86dfd1d3e (patch)
treea95c9c9a5e96517ade301786d634295a570d8c4c /lisp/progmodes/octave-inf.el
parentee5d9fdfc5d461e1586ed2184e54f9639da45972 (diff)
(inferior-octave-startup): Resync current dir at the end.
Diffstat (limited to 'lisp/progmodes/octave-inf.el')
-rw-r--r--lisp/progmodes/octave-inf.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el
index 917016cf15..4f0875bbf9 100644
--- a/lisp/progmodes/octave-inf.el
+++ b/lisp/progmodes/octave-inf.el
@@ -248,7 +248,11 @@ startup file, `~/.emacs-octave'."
;; And finally, everything is back to normal.
(set-process-filter proc 'inferior-octave-output-filter)
- (run-hooks 'inferior-octave-startup-hook)))
+ (run-hooks 'inferior-octave-startup-hook)
+ (run-hooks 'inferior-octave-startup-hook)
+ ;; Just in case, to be sure a cd in the startup file
+ ;; won't have detrimental effects.
+ (inferior-octave-resync-dirs)))
(defun inferior-octave-complete ()