emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* I cannot follow <<<radio>>> links
@ 2013-09-30 14:31 Daniel Clemente
  2013-11-06  8:21 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Clemente @ 2013-09-30 14:31 UTC (permalink / raw)
  To: org-mode Mailinglist


  Hi, since a few days, when I press C-c C-o on a highlighted word that points to a <<<radio link>>>, I get this error:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("^id:" nil)
  org-open-at-point(nil)
  call-interactively(org-open-at-point nil nil)
  command-execute(org-open-at-point)


I think this in enough to correct it:


diff --git a/lisp/org.el b/lisp/org.el
index 6d34bce..0571bc1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10542,7 +10542,8 @@ application the system uses for this file type."
 	   ((and (string= type "thisfile")
 		 (or (run-hook-with-args-until-success
 		      'org-open-link-functions path)
-		     (and (string-match "^id:" link)
+		     (and link
+			  (string-match "^id:" link)
 			  (or (featurep 'org-id) (require 'org-id))
 			  (progn
 			    (funcall (nth 1 (assoc "id" org-link-protocols))



Latest org-mode, emacs from 26.m8.2013.  Thanks

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: I cannot follow <<<radio>>> links
  2013-09-30 14:31 I cannot follow <<<radio>>> links Daniel Clemente
@ 2013-11-06  8:21 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-11-06  8:21 UTC (permalink / raw)
  To: Daniel Clemente; +Cc: org-mode Mailinglist

Hi Daniel,

Daniel Clemente <n142857@gmail.com> writes:

> I think this in enough to correct it:

I can't find the confirmation on the list, but I see this has been
applied.  Just to close this bug report.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-06 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 14:31 I cannot follow <<<radio>>> links Daniel Clemente
2013-11-06  8:21 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).