Rewrite `org-open-at-point' using Elements
commitfc9ce86cfc1ecf7e86028027a12875a26500e774
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 23 Feb 2014 10:35:34 +0000 (23 11:35 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 23 Feb 2014 13:26:18 +0000 (23 14:26 +0100)
treee217201e5cbe706b81b66b55bd5fd58da368dff5
parent13691bde32a2ee336642783b88554017cdb73954
Rewrite `org-open-at-point' using Elements

* lisp/org.el (org-open-at-point): Rewrite function using Element
  parser.
(org-link-types): Add "help" type.
* testing/lisp/test-org-open-at-point.el: Remove file.  Two tests are
  not supported anymore (namely bracket-link-before and
  plain-link-before) and the other tests are wrong (mixing id and
  custom-id links).
* testing/examples/open-at-point.org: Remove file.
* testing/lisp/test-org.el (test-org/custom-id): Add test.

Unlike to the previous implementation, this one will only open links
under point or just before point, not links on the same line but
before point.
lisp/org.el
testing/examples/open-at-point.org [deleted file]
testing/lisp/test-org-open-at-point.el [deleted file]
testing/lisp/test-org.el