Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

This commit is contained in:
Carsten Dominik 2008-02-18 08:28:18 +01:00
commit d1821b2d25
1 changed files with 4 additions and 3 deletions

7
org.el
View File

@ -6676,9 +6676,10 @@ If optional TXT is given, check this string instead of the current kill."
"Narrow buffer to the current subtree."
(interactive)
(save-excursion
(narrow-to-region
(progn (org-back-to-heading) (point))
(progn (org-end-of-subtree t t) (point)))))
(save-match-data
(narrow-to-region
(progn (org-back-to-heading) (point))
(progn (org-end-of-subtree t t) (point))))))
;;; Outline Sorting