emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Make archived headers unavailable as refile targets?


From: Richard Riley
Subject: [Orgmode] Re: Make archived headers unavailable as refile targets?
Date: Tue, 26 Jan 2010 17:55:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Richard Riley <address@hidden> writes:

> There might be easier ways, but as I'm familiarising myself more with
> elisp, here's one solution:
>

Having seen David's solution, I realised the org-archive-tag in your
case is better rather than the more "general" solution I aimed for. So
maintaining the general org-contains-tag solution but using the correct
tag variable:

,----
| (defun org-not-archived () (not (org-contains-tag org-archive-tag)))
`----


r.







reply via email to

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