org-mode/testing/lisp
Nicolas Goaziou 7cd6fdcd34 org-element: Only allow plain links in links
* lisp/org-element.el (org-element-all-successors): Add `plain-link'
  successor.
(org-element-object-restrictions): Remove `link' within `link'.  Allow
`plain-link' instead.
(org-element-plain-link-successor): New function.
* testing/lisp/test-org-element.el: Add test.

Plain links within links are needed for the following kind of syntax:

  [[http://orgmode.org][file:unicorn.png]]

No other link type is allowed within links.
2013-02-25 22:16:01 +01:00
..
test-ob-awk.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-C.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-emacs-lisp.el Merge branch 'maint' 2013-01-01 16:06:17 +01:00
test-ob-exp.el Fix tests related to export 2013-02-06 23:06:31 +01:00
test-ob-fortran.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-lilypond.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-lob.el Fix tests related to export 2013-02-06 23:06:31 +01:00
test-ob-maxima.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-octave.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-python.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-R.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-sh.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-table.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-tangle.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob.el Merge branch 'maint' 2013-01-01 16:06:17 +01:00
test-org-clock.el Fix new test for clocktables 2012-12-07 19:50:01 +01:00
test-org-element.el org-element: Only allow plain links in links 2013-02-25 22:16:01 +01:00
test-org-footnote.el Require 2 blank lines to separate footnote definition 2013-02-24 14:44:07 +01:00
test-org-list.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-org-macro.el Move macro expansion code into its own library 2013-02-16 15:55:30 +01:00
test-org-src.el Merge branch 'maint' 2013-01-01 16:06:17 +01:00
test-org-table.el Use nan for empty fields in Calc formulas 2012-12-29 14:33:52 +01:00
test-org.el Do not move point when filling a table 2013-02-25 10:06:58 +01:00
test-ox.el ox: Better return value for `org-export-get-optional-title' 2013-02-24 09:20:35 +01:00
test-property-inheritance.el Update copyright years. 2013-01-01 16:04:24 +01:00