Prune
This commit is contained in:
parent
29eec8ba25
commit
08ee9e1596
1 changed files with 0 additions and 10 deletions
|
|
@ -78,16 +78,6 @@
|
||||||
|
|
||||||
;;;; Functions
|
;;;; 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)
|
(cl-defun org-agenda-ng--filter-buffer (&key pred)
|
||||||
"Return positions of matching headings in current buffer.
|
"Return positions of matching headings in current buffer.
|
||||||
Headings should return non-nil for any ANY-PREDS and nil for all
|
Headings should return non-nil for any ANY-PREDS and nil for all
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue