/ Published in: Lisp
This is a way to toggle the todos without a deadline or date in the org-mode agenda views
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
;; This function makes it easier to toggle variables (defun toggle-variable (var) "toggles boolean variable" (interactive "vToggle variable: ") (set var (not (symbol-value var))) (message "%s set to %s" var (symbol-value var)) ) ;; toggle agenda view todos (defun toggle-agenda-include-all-todo() "toggle the truncate-lines variable between true and false" (interactive) (toggle-variable 'org-agenda-include-all-todo) (org-agenda-redo) ) (global-set-key [f3] 'toggle-agenda-include-all-todo) ;;;