Allow links to contain brackets
commitde9e60529779113d5ae8f7e9b58435b8834df610
authorCarsten Dominik <carsten.dominik@gmail.com>
Thu, 6 Nov 2008 07:56:13 +0000 (6 08:56 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 6 Nov 2008 07:56:13 +0000 (6 08:56 +0100)
tree5e636eb300a21559fe523ea8f37d3a2383ca6a3b
parenta1d457133e8a01c2464887ce238c55b1b60d0c22
Allow links to contain brackets

Links in the standard form [[link][description]] are allowed to have
brackets in them when these are escapes %5B and %5D.  Creating links
through the Org link interface automatically does this conversion.

However, as noticed by Paul R, there is a bug when actually following
such links, when the link will be cut off at the first closing bracket
in the link.

This patch fixes this problem by adjusting the appropriate regexp.
lisp/ChangeLog
lisp/org.el