Function: diary-insert-cyclic-entry

diary-insert-cyclic-entry is an autoloaded, interactive and byte-compiled function defined in diary-lib.el.gz.

Signature

(diary-insert-cyclic-entry ARG)

Documentation

Insert a cyclic diary entry starting at the date given by point.

Prefix argument ARG makes the entry nonmarking.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-lib.el.gz
;;;###cal-autoload
(defun diary-insert-cyclic-entry (arg)
  "Insert a cyclic diary entry starting at the date given by point.
Prefix argument ARG makes the entry nonmarking."
  (interactive "P")
  (let ((calendar-date-display-form (diary-date-display-form)))
    (diary-make-entry
     (format "%s(diary-cyclic %d %s)"
             diary-sexp-entry-symbol
             (calendar-read-sexp "Repeat every how many days"
                                 (lambda (x) (> x 0))
                                 1)
             (calendar-date-string (calendar-cursor-to-date t) nil t))
     arg)))