[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] org-narrow-to-subtree: prevent prepending text to the
From: |
Jan Böcker |
Subject: |
[Orgmode] [PATCH] org-narrow-to-subtree: prevent prepending text to the next headline while narrowed |
Date: |
Mon, 18 Jan 2010 12:13:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091215 Shredder/3.0 |
Consider the following situation:
* A
Some text.
* B
- Place the cursor on A, press C-x n w (org-narrow-to-subtree).
- Go to the very end of the buffer and insert "xyz".
- C-x n w (widen).
You end up with:
* A
Some Text
xyz* B
The attached one-line patch fixes this by passing `nil' for the
`to-heading' parameter of `org-end-of-subtree'.
0001-org-narrow-to-subtree-prevent-prepending-text-to-the.patch
Description: Text document
- [Orgmode] [PATCH] org-narrow-to-subtree: prevent prepending text to the next headline while narrowed,
Jan Böcker <=