Include the final newline when narrowing to a subtree

This commit is contained in:
Carsten Dominik 2009-09-18 07:16:04 +01:00
parent 55e74f361e
commit 60bf447608
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-sort-entries-or-items): Include the final newline.
2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-closest-date): Fix issue with past preference.

View File

@ -5651,7 +5651,7 @@ frame is not changed."
(outline-up-heading 1 t)))
(setq beg (point)
heading (org-get-heading))
(org-end-of-subtree t) (setq end (point)))
(org-end-of-subtree t t) (setq end (point)))
(if (and (buffer-live-p org-last-indirect-buffer)
(not (eq org-indirect-buffer-display 'new-frame))
(not arg))
@ -6420,7 +6420,7 @@ If yes, remember the marker and the distance to BEG."
(save-match-data
(narrow-to-region
(progn (org-back-to-heading t) (point))
(progn (org-end-of-subtree t) (point))))))
(progn (org-end-of-subtree t t) (point))))))
(defun org-clone-subtree-with-time-shift (n &optional shift)
"Clone the task (subtree) at point N times.