Function: diary-insert-anniversary-entry

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

Signature

(diary-insert-anniversary-entry ARG)

Documentation

Insert an anniversary diary entry for 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-anniversary-entry (arg)
  "Insert an anniversary diary entry for 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-anniversary %s)"
             diary-sexp-entry-symbol
             (calendar-date-string (calendar-cursor-to-date t) nil t))
     arg)))