Function: org-cancel-repeater
org-cancel-repeater is an interactive and byte-compiled function
defined in org.el.gz.
Signature
(org-cancel-repeater)
Documentation
Cancel a repeater by setting its numeric value to zero.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-cancel-repeater ()
"Cancel a repeater by setting its numeric value to zero."
(interactive)
(save-excursion
(org-back-to-heading t)
(let ((bound1 (point))
(bound0 (save-excursion (outline-next-heading) (point))))
(when (and (re-search-forward
(concat "\\(" org-scheduled-time-regexp "\\)\\|\\("
org-deadline-time-regexp "\\)\\|\\("
org-ts-regexp "\\)")
bound0 t)
(re-search-backward "[ \t]+\\(?:[.+]\\)?\\+\\([0-9]+\\)[hdwmy]"
bound1 t))
(replace-match "0" t nil nil 1)))))