emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: [PATCH] can't :include files in org-publish-project-alist


From: Łukasz Stelmach
Subject: [Orgmode] Re: [PATCH] can't :include files in org-publish-project-alist
Date: Thu, 02 Sep 2010 16:46:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Bastien <address@hidden> writes:

> :base-directory now allows a directory name with no ending slash.
>
> I did this in a slightly different way than the one you suggest:
>
> ,----
> |       (let* ((r (plist-get (cdr prj) :recursive))
> | -            (b (expand-file-name (plist-get (cdr prj) :base-directory)))
> | +            (b (expand-file-name (file-name-as-directory
> | +                                  (plist-get (cdr prj) :base-directory))))
> |              (x (or (plist-get (cdr prj) :base-extension) "org"))
> `----

Great :-) I didn't know there is the `file-name-as-directory' function.

-- 
Miłego dnia,
Łukasz Stelmach




reply via email to

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