Fix end of line function called on an hidden block
commitf48a8b7bf821b71ef1426ad0cb38d678cc9bb303
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 4 Nov 2012 23:57:56 +0000 (5 00:57 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 4 Nov 2012 23:57:56 +0000 (5 00:57 +0100)
tree4a2dd0fbe0b665db45432d354bfd9e9d4c613286
parentd22e732d7a688622729fb2d4994cf95a94dd0598
Fix end of line function called on an hidden block

* lisp/org.el (org-end-of-line): On a hidden block make sure to
  delegate motion to `end-of-line' instead of `move-end-of-line' in
  order to stay on the current line.
* testing/lisp/test-org.el: Update test.
lisp/org.el
testing/lisp/test-org.el