|
From: | Olaf Dietsche |
Subject: | Re: [O] [PATCH] org-capture, removing whitespace from new captures |
Date: | Wed, 14 Sep 2011 10:44:07 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
address@hidden writes: > I found myself manually "cleaning" most CAPTURE buffers of whitespace > prior to committing them with C-c C-c. The attached patch adds a new > property :whitespace-cleanup to the org-capture-templates. Thanks for pointing to whitespace-cleanup, I've done this manually cleaning as well. You could use org-capture-before-finalize-hook for this: (add-hook 'org-capture-before-finalize-hook 'whitespace-cleanup) Regards, Olaf
[Prev in Thread] | Current Thread | [Next in Thread] |