Function: diary-chinese-insert-anniversary-entry

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

Signature

(diary-chinese-insert-anniversary-entry &optional ARG)

Documentation

Insert an anniversary diary entry for the Chinese date at point.

Prefix argument ARG makes the entry nonmarking.

View in manual

Probably introduced at or before Emacs version 25.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-china.el.gz
;;;###cal-autoload
(defun diary-chinese-insert-anniversary-entry (&optional arg)
  "Insert an anniversary diary entry for the Chinese date at 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-chinese-anniversary %s)"
             diary-sexp-entry-symbol
             (calendar-date-string
              (calendar-chinese-from-absolute-for-diary
               (calendar-absolute-from-gregorian (calendar-cursor-to-date t)))))
     arg)))