Browse Source

Allow link descriptions to span two lines

Carsten Dominik 15 years ago
parent
commit
29e646318f
2 changed files with 5 additions and 1 deletions
  1. 4 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 4 - 0
lisp/ChangeLog

@@ -1,3 +1,7 @@
+2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org.el (org-open-at-point): Allow long link descriptions.
+
 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org-html.el (org-export-as-html): Remove empty lines at the

+ 1 - 1
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)