From 08ee9e159649a853f0ec45dd74635381800572e2 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Wed, 3 Jan 2018 11:20:04 -0600 Subject: [PATCH] Prune --- org-agenda-ng.el | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/org-agenda-ng.el b/org-agenda-ng.el index c875247..b87b7ae 100644 --- a/org-agenda-ng.el +++ b/org-agenda-ng.el @@ -78,16 +78,6 @@ ;;;; Functions -(cl-defun org-agenda-ng--heading-positions (file) - "Return list of heading positions in FILE." - (with-current-buffer (find-buffer-visiting file) - (save-excursion - (goto-char (point-min)) - (cl-loop initially do (when (org-before-first-heading-p) - (outline-next-heading)) - collect (point) - while (outline-next-heading))))) - (cl-defun org-agenda-ng--filter-buffer (&key pred) "Return positions of matching headings in current buffer. Headings should return non-nil for any ANY-PREDS and nil for all