From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: xxx [9.3 (9.3-8-geab7c4-elpa @ c:/Users/Scott/.emacs.d/elpa/org-20191209/)] Date: Mon, 16 Dec 2019 17:22:21 +0100 Message-ID: <87y2vc9r5u.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53465) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igt8n-00006m-Rn for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 11:22:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igt8g-0006Sk-KY for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 11:22:36 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:44913) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igt8e-0006JQ-Tp for emacs-orgmode@gnu.org; Mon, 16 Dec 2019 11:22:29 -0500 In-Reply-To: (Scott Otterson's message of "Wed, 11 Dec 2019 13:16:44 -0800") 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: Scott Otterson Cc: "Emacs-orgmode@gnu.org" Hello, Scott Otterson writes: > A function I wrote a few months ago is now failing because it's unable > to find the org function "org-at-target-p". I think this was > originally in org.el but I can't find it there now. It was removed because its implementation was buggy and not necessary. > If this function was removed intentionally could someone suggest a new > function that can do the same thing? org-at-target-p used to return > true if the cursor is on a dedicated target. You can use Org parser: (memq (org-element-type (org-element-context)) '(target radio-target)) or (org-element-lineage (org-element-context) '(target radio-target) t) Regards, -- Nicolas Goaziou