summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-10-02 00:30:14 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-10-02 00:30:14 +0200
commiteda8ac493f6f4dd7706cfea1ec1e4cb76bb6d3ab (patch)
treeae41b8acabde943974478508bc5050e20e8e1180
parent7075704b094c0dcf4b44e30cbb320d07b5ededb5 (diff)
downloadorg-mode-eda8ac493f6f4dd7706cfea1ec1e4cb76bb6d3ab.tar.gz
Fix inconsistencies in `org-occur' binding
* doc/org.texi (Sparse trees): Add C-c / / binding for `org-occur'. * lisp/org.el (org-sparse-tree): Mention "r" suffix for consistency with other entries in the help menu.
-rw-r--r--doc/org.texi2
-rw-r--r--lisp/org.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 88f59f8..619c6e8 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -1565,7 +1565,7 @@ commands can be accessed through a dispatcher:
@table @asis
@orgcmd{C-c /,org-sparse-tree}
This prompts for an extra key to select a sparse-tree creating command.
-@orgcmd{C-c / r,org-occur}
+@orgcmdkkc{C-c / r,C-c / /,org-occur}
@vindex org-remove-highlights-with-change
Prompts for a regexp and shows a sparse tree with all matches. If
the match is in a headline, the headline is made visible. If the match is in
diff --git a/lisp/org.el b/lisp/org.el
index 772fe10..f508a10 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -13907,7 +13907,7 @@ D Show deadlines and scheduled items between a date range."
(interactive "P")
(setq type (or type org-sparse-tree-default-date-type))
(setq org-ts-type type)
- (message "Sparse tree: [/]regexp [t]odo [T]odo-kwd [m]atch [p]roperty
+ (message "Sparse tree: [r]egexp [t]odo [T]odo-kwd [m]atch [p]roperty
\[d]eadlines [b]efore-date [a]fter-date [D]ates range
\[c]ycle through date types: %s"
(cl-case type