Fix `org-backward-paragraph' on block opening linerelease_9.1.2
commitef6dac812b75f6f421bed7bc84d6f166c0b90f71
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 4 Oct 2017 10:57:14 +0000 (4 12:57 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 4 Oct 2017 10:57:14 +0000 (4 12:57 +0200)
tree3e4edc11073c4285a0caf6ef035a185d357f2715
parent8ed303fdfea632e32e59375c2492855b098f24ca
Fix `org-backward-paragraph' on block opening line

* lisp/org.el (org-backward-paragraph): Do not error when called from
  a block opening line.
* testing/lisp/test-org.el (test-org/backward-paragraph): Add tests.

Reported-by: Omar Antolin <omar.antolin@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00051.html>
lisp/org.el
testing/lisp/test-org.el