Function: org-agenda-toggle-diary

org-agenda-toggle-diary is an interactive and byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-toggle-diary)

Documentation

Toggle diary inclusion in an agenda buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-toggle-diary ()
  "Toggle diary inclusion in an agenda buffer."
  (interactive)
  (org-agenda-check-type t 'agenda)
  (setq org-agenda-include-diary (not org-agenda-include-diary))
  (org-agenda-redo)
  (org-agenda-set-mode-name)
  (message "Diary inclusion turned %s"
	   (if org-agenda-include-diary "on" "off")))