changeset 65431:effbe6e5cd50

(inferior-octave-startup): Resync current dir at the end.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 10 Sep 2005 15:04:37 +0000
parents 492c26176ce9
children 59fb5e4480ce
files lisp/progmodes/octave-inf.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/octave-inf.el	Sat Sep 10 15:01:43 2005 +0000
+++ b/lisp/progmodes/octave-inf.el	Sat Sep 10 15:04:37 2005 +0000
@@ -248,7 +248,11 @@
 
     ;; 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 ()