Fix bug when narrowing to subtree with point at an inline task
commit1e59039f8cf93830f930f7dc99117c41586552e9
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 2 Mar 2011 21:56:02 +0000 (2 21:56 +0000)
committerBastien Guerry <bzg@altern.org>
Sun, 6 Mar 2011 08:29:16 +0000 (6 09:29 +0100)
treee6b7773f31ccf25d87f6a108237e2e98d44c47e8
parentdf7f2bf3d96517eaf3a94f5615e2141b38529121
Fix bug when narrowing to subtree with point at an inline task

* lisp/org.el (org-narrow-to-subtree): ensure `org-back-to-heading'
  will move point to a real heading and not an inline task by wraping
  function into a org-with-limited-levels macro.
lisp/org.el