emacs-orgmode
[Top][All Lists]
Advanced

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

[O] I cannot follow <<<radio>>> links


From: Daniel Clemente
Subject: [O] I cannot follow <<<radio>>> links
Date: Mon, 30 Sep 2013 21:31:47 +0700
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.50 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

  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





reply via email to

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