From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id KF3KN3r9FV9UQQAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 20 Jul 2020 20:24:26 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0 with LMTPS
	id CMquM3r9FV8ZPAAA1q6Kng
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 20 Jul 2020 20:24:26 +0000
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 706B794013C
	for <larch@yhetil.org>; Mon, 20 Jul 2020 20:24:26 +0000 (UTC)
Received: from localhost ([::1]:41056 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1jxcKm-0001ix-6M
	for larch@yhetil.org; Mon, 20 Jul 2020 16:24:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60088)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo.vivier+dev@gmail.com>)
 id 1jxcKS-0001ik-2y
 for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 16:24:04 -0400
Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:51356)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <leo.vivier+dev@gmail.com>)
 id 1jxcKQ-0002e4-GV
 for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 16:24:03 -0400
Received: by mail-wm1-x336.google.com with SMTP id 22so725674wmg.1
 for <emacs-orgmode@gnu.org>; Mon, 20 Jul 2020 13:24:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:subject:date:message-id:mime-version;
 bh=uV9FI22USTm16S93giVu6h4QFPq9w8yh6733snBptYM=;
 b=o8Zzwu2PGuM22+gEpNSQl5AHodRwIQNYaSkDsdTHhdKTF4jhaNpJXAndOvspmvN4pf
 Yp5EdxmABUI8H0zfh+uJ6dxeKyINYOpXN7X3ra0UKYgN8sJ2Xw5TtCPx8oRwdPuIOvte
 m5rQOZaGhnN3JRAJAdzBuAxfZ9uqjFFsoyjQafmnygjYNViNZ8eeOcOboC3prKvdJK5X
 xJxW3sHrO2IzIb0BfaympRiof4uTDzxo5KGJlv2siQyaMvBmKrBrI8gRahK53cAjqICr
 RlEaQFsLnYcMPou6v+BwrKCNb0PWAdGEXgEptsGU1EpgVkjuoNfhWfHleJ609hioYKkv
 7TMQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:subject:date:message-id
 :mime-version;
 bh=uV9FI22USTm16S93giVu6h4QFPq9w8yh6733snBptYM=;
 b=EKzU+dVvvRwMeNS4SFisrhRABPo4qsWxYq+woeXk0PFZW4gWyZELnTpEmA94xQW3sQ
 LOtb7e2aCCm4jJ2akdpj5somOI8XT+pfX3dmuzrJukEAhrltnqP9QD/FuaLpjQf1Wryv
 JNf85aA/bW0cc9ocpvMVc63KHrovh1CYoTo2Xyj0MweVazf62HtpPPqNV4mNjfTb99S5
 o4z8xbYXTrI+t2kjGpdsczGAesdqadK9I/QwEpXGaCYLnD4Lq28L9sRmxxKhNYYnwa6/
 bs/bi/43vt1XDs3Qv90fmokgpmbwHEBsr+iCksbx7D8hFrrCkjrhhkpMnWutVW/BH0SN
 Icnw==
X-Gm-Message-State: AOAM530oZsgDRAtVJoQuSMtA3mvuDpdiQYMbLvBNoSp4TWFGmleLmpHz
 JgwwDHV33hN0Rs83Oe/ynFn3fEY=
X-Google-Smtp-Source: ABdhPJwmvYP2hZh72facpucgIIBAPGhkOcqOFBoYoAb3TWJijvmczDADWtD0pWiO9/ySMEmTnpM2Xg==
X-Received: by 2002:a1c:44d7:: with SMTP id r206mr852263wma.7.1595276640181;
 Mon, 20 Jul 2020 13:24:00 -0700 (PDT)
Received: from thinkpad.localdomain ([2a01:e35:2f1c:c140:f15:3c01:a7b9:18f])
 by smtp.gmail.com with ESMTPSA id f12sm34902303wrj.48.2020.07.20.13.23.59
 for <emacs-orgmode@gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 20 Jul 2020 13:23:59 -0700 (PDT)
From: Leo Vivier <leo.vivier+dev@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org: Update example in docstring to accommodate new name
 and new format
Date: Mon, 20 Jul 2020 22:23:58 +0200
Message-ID: <87ft9mgckh.fsf@hidden>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2a00:1450:4864:20::336;
 envelope-from=leo.vivier+dev@gmail.com; helo=mail-wm1-x336.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Scanner: scn0
Authentication-Results: aspmx1.migadu.com;
	dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=o8Zzwu2P;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Spam-Score: 0.59
X-TUID: PPe7LMHbo6yx

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi there,

I=E2=80=99ve spotted an example in a docstring that wasn=E2=80=99t updated =
when the
command was renamed and moved to another file in
d34786f2279d0fd02e7d0484e36bc22adc760de2.

I took the liberty to update it.

HTH,

--=20
Leo Vivier

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=0001-org-Update-docstring.patch

>From 83dde9d0735cc6223233aa18c938a4ae14b4c88c Mon Sep 17 00:00:00 2001
From: Leo Vivier <leo.vivier+dev@gmail.com>
Date: Mon, 20 Jul 2020 22:11:15 +0200
Subject: [PATCH] org: Update docstring

* lisp/org.el (org-find-olp): Update example in docstring to
accommodate new name and new format
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 12a853bd6..5900e692a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -13501,7 +13501,7 @@ If anything goes wrong, throw an error.
 You can wrap this call to catch the error like this:
 
   (condition-case msg
-      (org-mobile-locate-entry (match-string 4))
+      (org-find-olp (list (match-string 4) t)
     (error (nth 1 msg)))
 
 The return value will then be either a string with the error message,
-- 
2.26.2


--=-=-=--