Function: org-agenda-skip-entry-when-regexp-matches
org-agenda-skip-entry-when-regexp-matches is a byte-compiled function
defined in org-compat.el.
This function is obsolete since 9.1; use org-agenda-skip-if instead.
Signature
(org-agenda-skip-entry-when-regexp-matches)
Documentation
Check if the current entry contains match for org-agenda-skip-regexp.
If yes, it returns the end position of this entry, causing agenda commands
to skip the entry but continuing the search in the subtree. This is a
function that can be put into org-agenda-skip-function for the duration
of a command.
Source Code
;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-compat.el
(defun org-agenda-skip-entry-when-regexp-matches ()
"Check if the current entry contains match for `org-agenda-skip-regexp'.
If yes, it returns the end position of this entry, causing agenda commands
to skip the entry but continuing the search in the subtree. This is a
function that can be put into `org-agenda-skip-function' for the duration
of a command."
(declare (obsolete "use `org-agenda-skip-if' instead." "9.1"))
(let ((end (save-excursion (org-end-of-subtree t)))
skip)
(save-excursion
(setq skip (re-search-forward org-agenda-skip-regexp end t)))
(and skip end)))