emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: xxx [9.3 (9.3-8-geab7c4-elpa @ c:/Users/Scott/.emacs.d/elpa/org


From: Scott Otterson
Subject: Re: Bug: xxx [9.3 (9.3-8-geab7c4-elpa @ c:/Users/Scott/.emacs.d/elpa/org-20191209/)]
Date: Mon, 16 Dec 2019 08:45:20 -0800

Hi Nicolas,

Thanks for the help.

Scott

On Mon, Dec 16, 2019 at 8:22 AM Nicolas Goaziou <address@hidden> wrote:
Hello,

Scott Otterson <address@hidden> 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

reply via email to

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