From 29e646318f87f20e6521f0f94d36b8dff67889f9 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sun, 22 Nov 2009 23:32:14 +0100 Subject: [PATCH] Allow link descriptions to span two lines --- lisp/ChangeLog | 4 ++++ lisp/org.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 622b0b62c..c43b6296e 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-11-22 Carsten Dominik + + * org.el (org-open-at-point): Allow long link descriptions. + 2009-11-21 Carsten Dominik * org-html.el (org-export-as-html): Remove empty lines at the diff --git a/lisp/org.el b/lisp/org.el index 1a3934365..092923563 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8241,7 +8241,7 @@ application the system uses for this file type." (catch 'match (save-excursion (skip-chars-forward "^]\n\r") - (when (org-in-regexp org-bracket-link-regexp) + (when (org-in-regexp org-bracket-link-regexp 1) (setq link (org-extract-attributes (org-link-unescape (org-match-string-no-properties 1)))) (while (string-match " *\n *" link)