Hello,

Florian Beck <abstrakt...@t-online.de> writes:

> (defun org-get-item (&optional kill)
>   "Copy the item at point to the kill ring.
> Optionally, kill it."
>   (save-excursion
>     (let ((beg (org-in-item-p)))
>       (org-end-of-item)
>       (funcall (if kill
>                  'kill-region
>                'copy-region-as-kill)
>              beg (point)))))

The latest Org introduced the function `org-list-send-item', which may
be useful here. I'd also suggest to repair list and, eventually, update
check-boxes when killing it.

Regards,

-- 
Nicolas Goaziou

Reply via email to