summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-10-15 22:31:37 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2012-10-15 22:31:37 +0200
commit1fb3cca7c08ec1a608b8bd8d1ff627250a463a3e (patch)
tree3e56caee62e6b543e1130ce8e0a046bf4b70b831
parent633d66d7c4a4d1406598cbf837254537fa6c1ab4 (diff)
downloadorg-mode-1fb3cca7c08ec1a608b8bd8d1ff627250a463a3e.tar.gz
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'.
-rw-r--r--doc/orgcard.tex6
-rw-r--r--lisp/org.el2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/orgcard.tex b/doc/orgcard.tex
index 9582f7c..cfa20c6 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 1fd3f76..c91695b 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))