Fix `C-e' with visible lines and arguments
commit45048eb78359fc742097982fc1adc5ca5e4b2509
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 14 Oct 2016 22:48:47 +0000 (15 00:48 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 15 Oct 2016 09:36:09 +0000 (15 11:36 +0200)
treea79c58f79cb23517d6619fe7b15be6e0005fb22c
parent2971c48cf133d88e61ceb1c6887af2204d0cc665
Fix `C-e' with visible lines and arguments

* lisp/org.el (org-end-of-line): Correctly go to the end of visible
  line, when appropriate.
* testing/lisp/test-org.el (test-org/end-of-line): Add tests.
lisp/org.el
testing/lisp/test-org.el