[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Fix Subtle Heading Creation Bugs
From: |
Peter Jones |
Subject: |
[Orgmode] Re: Fix Subtle Heading Creation Bugs |
Date: |
Wed, 22 Oct 2008 18:30:51 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (darwin) |
Carsten Dominik <address@hidden> writes:
> I have applied your full patch, thanks.
>
> Please verify the push, I did have a little technical problem when
> applying, so please make sure it worked correctly.
Almost, I must have forgotten this:
diff --git a/lisp/org.el b/lisp/org.el
index ad0f106..5bca9e8 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -4694,7 +4694,7 @@ but create the new hedline after the current line."
If the heading has no TODO state, or if the state is DONE, use the first
state (TODO by default). Also with prefix arg, force first state."
(interactive "P")
- (when (not (org-insert-item 'checkbox))
+ (when (or force-heading (not (org-insert-item 'checkbox)))
(org-insert-heading force-heading)
(save-excursion
(org-back-to-heading)
--
Peter Jones, http://pmade.com
pmade inc. Louisville, CO US