On 2015-09-19 18:43, Kyle Meyer wrote:
> Richard Hansen <rhan...@bbn.com> writes:
> 
>>                           (with-temp-buffer
>> +                           (cd (file-name-directory file))
>>                             (org-mode)
>>                             (insert (org-file-contents file 'noerror))
> 
> Why not just set default-directory instead of calling cd?  Does it make
> sense to support CDPATH here?

I wasn't aware of CDPATH and its interaction with cd.  Should I use
cd-absolute instead of setting default-directory directly?  It does some
sanity checks (among other things) that seem worthwhile.

Thanks,
Richard

Reply via email to