Fix link search
commitcfe5bc97f8b18ccbf49d0764746c7563ce8d29da
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 2 Aug 2015 23:06:32 +0000 (3 01:06 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 2 Aug 2015 23:06:32 +0000 (3 01:06 +0200)
treeeddb91475a4037500299b6ab33e85b9a495ee368
parent8094d01a68e82d201d1f977a3699dd1bf0ef6fd0
Fix link search

* lisp/org.el (org-open-link-marker): Remove variable.
(org-open-at-point): Apply removal.
(org-link-search): Sanitize function.  Fix issue with internal link
encoding.
(org-search-not-self): Remove function.

* lisp/ox.el (org-export--inclusion-absolute-lines): Ensure INCLUDE
  keywords with locations can find named elements and targets.

* testing/lisp/test-org.el (test-org/return):
(test-org/coderef):
(test-org/custom-id): Update tests.
(test-org/fuzzy-links): Add tests.

Reported-by: Ivanov Dmitry <usr345@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/99340>
lisp/org.el
lisp/ox.el
testing/lisp/test-org.el
testing/lisp/test-ox.el