Mercurial > hg > octave-max
changeset 5437:009606303874
[project @ 2005-09-02 06:25:26 by jwe]
author | jwe |
---|---|
date | Fri, 02 Sep 2005 06:27:52 +0000 |
parents | 2ed5009be503 |
children | 49ff3dd744ee |
files | ChangeLog emacs/octave-inf.el src/variables.cc |
diffstat | 3 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-31 Pascal A. Dupuis <Pascal.Dupuis@esat.kuleuven.be> + + * emacs/octave-inf.el (inferior-octave-startup): Call + inferior-octave-resync-dirs here. + 2005-07-14 John W. Eaton <jwe@octave.org> * configure.in (SH_LDFLAGS): Add -Wl,--enable-auto-image-base for
--- 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 ()
--- 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.