Hi,
the following patch left-trims the tag in a link abbreviation ; this
allows to write
[[google: org-mode]]
for better readability.

--
Nicolas


diff --git a/lisp/org.el b/lisp/org.el
index 07d790f..8aef3c7 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6830,7 +6830,7 @@ call CMD."

 (defun org-link-expand-abbrev (link)
   "Apply replacements as defined in `org-link-abbrev-alist."
-  (if (string-match "^\\([a-zA-Z][-_a-zA-Z0-9]*\\)\\(::?\\(.*\\)\\)?$" link)
+  (if (string-match "^\\([a-zA-Z][-_a-zA-Z0-9]*\\)\\(::?[
\t]*\\(.*\\)\\)?$" link)
       (let* ((key (match-string 1 link))
             (as (or (assoc key org-link-abbrev-alist-local)
                     (assoc key org-link-abbrev-alist)))


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to