emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Bug: (org-set-tags t t) gives an error point is not currently


From: Ryan Thompson
Subject: [Orgmode] Bug: (org-set-tags t t) gives an error point is not currently on a headline
Date: Thu, 8 Apr 2010 11:11:44 -0700

Hi,

When I run (org-set-tags t t) to realign all tags in the buffer, it
doesn't work unless the point is currently on a headline, because
org-set-tags calls (org-get-tags-string) early on, and
org-get-tags-string raises an error if not on a headline. This can be
fixed by moving the binding of `current' to `(org-get-tags-string)'
into the else clause of the first if statment. I have attached a patch

-Ryan
--

Attachment: fix-org-set-tags-with-prefix.diff
Description: Text Data


reply via email to

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