Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2014-03-18 17:23:56 +01:00
commit 0b1d8c40ea
1 changed files with 2 additions and 1 deletions

View File

@ -8503,7 +8503,8 @@ It also looks at the text of the entry itself."
(org-get-at-bol 'org-marker)))
(buffer (and marker (marker-buffer marker)))
(prefix (buffer-substring (point-at-bol) (point-at-eol)))
(lkall (org-offer-links-in-entry buffer marker arg prefix))
(lkall (and buffer (org-offer-links-in-entry
buffer marker arg prefix)))
(lk0 (car lkall))
(lk (if (stringp lk0) (list lk0) lk0))
(lkend (cdr lkall))