From 1fb3cca7c08ec1a608b8bd8d1ff627250a463a3e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 15 Oct 2012 22:31:37 +0200 Subject: [PATCH] Allow to call `org-show-todo-tree' with an argument * lisp/org.el (org-sparse-tree): Allow to call `org-show-todo-tree' with an argument. * doc/orgcard.tex: Fix keybindings about `org-show-todo-tree'. --- doc/orgcard.tex | 6 +++--- lisp/org.el | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/orgcard.tex b/doc/orgcard.tex index 9582f7c9c..cfa20c6ff 100644 --- a/doc/orgcard.tex +++ b/doc/orgcard.tex @@ -484,9 +484,9 @@ after ``{\tt :}'', and dictionary words elsewhere. \metax{select next/previous state}{S-LEFT/RIGHT} \metax{select next/previous set}{C-S-LEFT/RIGHT} \key{toggle ORDERED property}{C-c C-x o} -\key{view TODO items in a sparse tree}{C-c C-v} -\key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v} - +\key{view TODO items in a sparse tree}{C-c / t} +\key{view 3rd TODO keyword's sparse tree}{C-3 C-c / t} +p \key{set the priority of the current item}{C-c , [ABC]} \key{remove priority cookie from current item}{C-c , SPC} \key{raise/lower priority of current item}{S-UP/DOWN\notetwo} diff --git a/lisp/org.el b/lisp/org.el index 1fd3f7610..c91695ba0 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -12668,7 +12668,7 @@ D Show deadlines and scheduled items between a date range." ((equal ans ?D) (call-interactively 'org-check-dates-range)) ((equal ans ?t) - (org-show-todo-tree nil)) + (call-interactively 'org-show-todo-tree)) ((equal ans ?T) (org-show-todo-tree '(4))) ((member ans '(?T ?m))