Fix expansion of archived trees
commitdaa8e23175b5ac7d1ef2d6b67b04d6f4447fb490
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 21 Aug 2015 11:56:50 +0000 (21 13:56 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 21 Aug 2015 11:56:50 +0000 (21 13:56 +0200)
treee86215ae3d57d822259c1c0fdca83c62f69a821b
parent1272458926535f140a37461e6155120f5cf45e24
Fix expansion of archived trees

* lisp/org.el (org-hide-archived-subtrees): Do not assume BEG is at
  beginning of line.  This matters when function is called with point in
  the middle of an archived headline.

Reported-by: Hymie! <hymie@lactose.homelinux.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/100291>
lisp/org.el