Function: org-habit-toggle-habits

org-habit-toggle-habits is an interactive and byte-compiled function defined in org-habit.el.gz.

Signature

(org-habit-toggle-habits)

Documentation

Toggle display of habits in an agenda buffer.

Key Bindings

Source Code

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