Make `org-return' follow links in headings again
commit997a9a45d96e8f464cde2665e6dc3d62b71efabb
authorAlexey Lebedeff <binarin@gmail.com>
Wed, 12 Aug 2015 20:02:49 +0000 (12 23:02 +0300)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 13 Aug 2015 00:25:17 +0000 (13 02:25 +0200)
treef626beda32b3d014a608ff14586a1e522337bc23
parentc8e3bc2bbcfbc40b978261f15dd0f53b7278718c
Make `org-return' follow links in headings again

* org.el (org-return): Check for links first when
  `org-return-follows-link' is non-nil, before inserting any newlines.

* testing/lisp/test-org.el (test-org/return): Add test.

This patch restores order in which `org-return' perform actions (which
was changed in a7e62499f2fe5c313567212ee90ff743c5e734a8).

TINYCHANGE
lisp/org.el
testing/lisp/test-org.el