[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Advice on cleaning (DRYing) up my publishing list
From: |
Nick Dokos |
Subject: |
Re: [O] Advice on cleaning (DRYing) up my publishing list |
Date: |
Fri, 03 Jan 2014 16:37:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Justin Gordon <address@hidden> writes:
> Lisp gurus, here is my feeble attempt at DRYing out my
> org-publish-project-alist.
>
> I'm setting up an octopress publishing system for several blogs, so my list
> might grow and I'd like to avoid duplication
>
> * Please advise on how I may make this cleaner and clearer. Original is at
> bottom.
> * And is there a better way than using the publishing settings for things
> like with-toc?
> * Does recursive still work for 8.2?
> * Would this be better done with some sort of macros?
>
Yes, instead of constructing list structure on the fly as you do below
(cons, append, list, etc.), check out ``Backquote'':
(info "(elisp) Backquote")
--
Nick