emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: org-open-at-point bug for radio targets [8.2 (8.2-6-gd745cd-elp


From: ben
Subject: [O] Bug: org-open-at-point bug for radio targets [8.2 (8.2-6-gd745cd-elpa @ /home/ben/.emacs.d/elpa/org-20130930/)]
Date: Mon, 30 Sep 2013 23:23:43 +0100

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

When I click on a radio target link I get the following error:

and: Wrong type argument: stringp, nil

I managed to fix the problem by changing this:

(and (string-match "^id:" link)
     (or (featurep 'org-id) (require 'org-id))
     (progn 
       (funcall (nth 1 (assoc "id" org-link-protocols))
                (substring path 3))
       t))

to this:

(and link
     (string-match "^id:" link)
     (or (featurep 'org-id) (require 'org-id))
     (progn
       (funcall (nth 1 (assoc "id" org-link-protocols))
                (substring path 3))
       t))

towards the end of the org-open-at-point function.
       
Emacs  : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2013-08-22 on louvi, modified by Debian
Package: Org-mode version 8.2 (8.2-6-gd745cd-elpa @ 
/home/ben/.emacs.d/elpa/org-20130930/)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]