From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: I cannot follow <<>> links Date: Mon, 30 Sep 2013 21:31:47 +0700 Message-ID: <87had2pei4.wl%n142857@gmail.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQeW6-0003qh-9Z for emacs-orgmode@gnu.org; Mon, 30 Sep 2013 10:32:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQeVv-0002Xm-4z for emacs-orgmode@gnu.org; Mon, 30 Sep 2013 10:32:06 -0400 Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]:62614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQeVu-0002Xa-Tn for emacs-orgmode@gnu.org; Mon, 30 Sep 2013 10:31:55 -0400 Received: by mail-pd0-f180.google.com with SMTP id y10so5736025pdj.11 for ; Mon, 30 Sep 2013 07:31:53 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode Mailinglist Hi, since a few days, when I press C-c C-o on a highlighted word that points to a <<>>, 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