From: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] can't :include files in org-publish-project-alist
Date: Thu, 02 Sep 2010 16:46:54 +0200 [thread overview]
Message-ID: <87occgryn5.fsf@dasa3.iem.pw.edu.pl> (raw)
In-Reply-To: 87fwxs1bvc.fsf@gnu.org
Bastien <bastien.guerry@wikimedia.fr> 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
prev parent reply other threads:[~2010-09-02 15:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-21 14:24 [PATCH] can't :include files in org-publish-project-alist Łukasz Stelmach
2010-08-21 14:34 ` Nick Dokos
2010-08-21 16:46 ` Łukasz Stelmach
2010-09-02 14:03 ` Bastien
2010-09-02 14:46 ` Łukasz Stelmach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87occgryn5.fsf@dasa3.iem.pw.edu.pl \
--to=lukasz.stelmach@iem.pw.edu.pl \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.