# HG changeset patch # User jwe # Date 1125642472 0 # Node ID 00960630387467f1702cec7cd8ea7eb1b652b454 # Parent 2ed5009be5030ec3ae3b469a372e148d74ebb530 [project @ 2005-09-02 06:25:26 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-31 Pascal A. Dupuis + + * emacs/octave-inf.el (inferior-octave-startup): Call + inferior-octave-resync-dirs here. + 2005-07-14 John W. Eaton * configure.in (SH_LDFLAGS): Add -Wl,--enable-auto-image-base for diff --git a/emacs/octave-inf.el b/emacs/octave-inf.el --- a/emacs/octave-inf.el +++ b/emacs/octave-inf.el @@ -247,7 +247,10 @@ ;; 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) + ;; 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 () diff --git a/src/variables.cc b/src/variables.cc --- a/src/variables.cc +++ b/src/variables.cc @@ -1009,7 +1009,7 @@ octave_function *fcn = ans.function_value (true); // No need to check nested functions. They can only be executed - // from within the parent function the contains them. Parent + // from within the parent function that contains them. Parent // and nested functions will be updated simultaneously when we // check the parent.