Function: appt-update-list

appt-update-list is a byte-compiled function defined in appt.el.gz.

Signature

(appt-update-list)

Documentation

If the current buffer is visiting the diary, update appointments.

This function also acts on any file listed in diary-included-files. It is intended for use with write-file-functions.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/appt.el.gz
(defun appt-update-list ()
  "If the current buffer is visiting the diary, update appointments.
This function also acts on any file listed in `diary-included-files'.
It is intended for use with `write-file-functions'."
  (and (member buffer-file-name (append diary-included-files
                                        (list (expand-file-name diary-file))))
       appt-timer
       (let ((appt-display-diary nil))
         (appt-check t)))
  nil)