[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-d
From: |
Marco Wahl |
Subject: |
[O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers |
Date: |
Fri, 13 Feb 2015 08:25:11 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Hi,
since the drop of org-end-of-meta-data-and-drawers contrib/org-drill
fails in master.
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? Am I missing something?
Best regards,
Marco
--
http://www.wahlzone.de
GPG: 0x49010A040A3AE6F2
- [O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers,
Marco Wahl <=