I ran into some problems, but I'm not sure if this is the cause, and I
can't give a recipe to reproduce the problems.

I wonder whether this code at the beginning of
`completion-setup-function':

(if minibuffer-completing-file-name
    (with-current-buffer mainbuf
      (setq default-directory (file-name-directory mbuf-contents))))

shouldn't perhaps be more like this, to avoid setting
default-directory to nil:

(when (and minibuffer-completing-file-name
           (file-name-directory mbuf-contents))
  (with-current-buffer mainbuf
     (setq default-directory (file-name-directory mbuf-contents))))


In GNU Emacs 22.0.93.1 (i386-mingw-nt5.1.2600)
 of 2007-01-25 on LENNART-69DE564
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to