emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories


From: Kyle Meyer
Subject: Re: [O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories
Date: Sat, 19 Sep 2015 18:43:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Richard Hansen <address@hidden> 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?

--
Kyle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]