From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Draft of links-9.0 Date: Tue, 05 Jul 2016 21:42:56 +0200 Message-ID: <871t37g9bz.fsf@saiph.selenimh> References: <87a8hvgaqh.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKWFP-0003m7-71 for emacs-orgmode@gnu.org; Tue, 05 Jul 2016 15:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKWFN-0000wa-72 for emacs-orgmode@gnu.org; Tue, 05 Jul 2016 15:43:06 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:46365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKWFN-0000wN-11 for emacs-orgmode@gnu.org; Tue, 05 Jul 2016 15:43:05 -0400 In-Reply-To: <87a8hvgaqh.fsf@saiph.selenimh> (Nicolas Goaziou's message of "Tue, 05 Jul 2016 21:12:38 +0200") 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" To: John Kitchin Cc: "emacs-orgmode@gnu.org" Completing myself, Nicolas Goaziou writes: > It is better to create a new function, e.g., `org-link-add' with the > following signature > > (defun org-link-add (type &rest properties) > ...) > > used like > > (org-link-add "red" :follow (lambda (path desc backend) ...) :export ....) Basically, `org-link-add' is `org-link-set-parameters', so it two different functions may not even be needed in this case.