Function: appt-delete-window

appt-delete-window is a byte-compiled function defined in appt.el.gz.

Signature

(appt-delete-window)

Documentation

Function called to undisplay appointment messages.

Usually just deletes the appointment buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/appt.el.gz
(defun appt-delete-window ()
  "Function called to undisplay appointment messages.
Usually just deletes the appointment buffer."
  (let ((window (get-buffer-window appt-buffer-name t)))
    (and window
         (or (eq window (frame-root-window (window-frame window)))
             (delete-window window))))
  (let ((buffer (get-buffer appt-buffer-name)))
    (when buffer
      (kill-buffer buffer)))
  (if appt-audible
      (beep 1)))