[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: completion-setup-function shouldn't set default-directory to nil
From: |
Richard Stallman |
Subject: |
Re: completion-setup-function shouldn't set default-directory to nil |
Date: |
Sat, 03 Mar 2007 17:13:48 -0500 |
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:
Thanks.