[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-a
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers |
Date: |
Fri, 13 Feb 2015 14:06:05 +0100 |
Hello,
Marco Wahl <address@hidden> writes:
> AFAICT a possible fix is:
>
> #v+
> diff --git a/contrib/lisp/org-drill.el b/contrib/lisp/org-drill.el
> index a0d33aa..8154904 100644
> --- a/contrib/lisp/org-drill.el
> +++ b/contrib/lisp/org-drill.el
> @@ -1708,7 +1708,7 @@ Note: does not actually alter the item."
> (org-back-to-heading t)
> (let ((lim (save-excursion
> (outline-next-heading) (point))))
> - (org-end-of-meta-data-and-drawers)
> + (org-end-of-meta-data t)
> (or (>= (point) lim)
> (null (re-search-forward "[[:graph:]]" lim t))))))
> #v-
>
> Is it sufficient to apply this fix to master?
This is correct. Thank you for taking care of it.
Regards,
--
Nicolas Goaziou