Fix regression in `org-beginning-of-line'
commit756bb87d81a4e817be2a3baeae50fbfe9bd23ded
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 13 Oct 2016 07:33:39 +0000 (13 09:33 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 13 Oct 2016 07:41:54 +0000 (13 09:41 +0200)
treef872dc6e35af575a1242b99b048ecc6e3dab7e75
parentd3e338dc0a078baedf6d91eb5f1d98ef019668e3
Fix regression in `org-beginning-of-line'

* lisp/org.el (org-beginning-of-line): Leave point before any invisible
  character at column 0.  Small refactoring.
* testing/lisp/test-org.el (test-org/beginning-of-line): Add tests.

The regression was introduced in
3baf246f4f73005a4eacd7c368f7222f95d50243.
lisp/org.el
testing/lisp/test-org.el