I have it in org-9.2.3 from org-plus-contrib-20190402, and it is
in org-plus-contrib-20191028 too. It is gone from org-plus-contrib-20191209.
It is pretty simple. Maybe you can just add it to your init file if you use
it.
(defun org-at-target-p ()
(or (org-in-regexp org-radio-target-regexp)
(org-in-regexp org-target-regexp)))
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Sun, Dec 15, 2019 at 4:52 PM Scott Otterson <[email protected]> wrote:
> For years, I've used the function, org-at-target-p to detect when the
> cursor is on a dedicated target. Recently, org-at-target-p disappeared
> from elpa -- for example, it's not in the org.el included in
> org-plus-contrib-20191209.
>
> Was its removal intentional, and if so, is there a new function with
> equivalent behavior?
>
> Thanks,
>
> Scott
>