summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-09-25 11:55:10 -0400
committerKyle Meyer <kyle@kyleam.com>2017-09-25 11:55:10 -0400
commit48f33380572f1ed2ce3434a96efa8befeb624b8f (patch)
tree4f47521a7f4ef5f296c35d9012bce8bf5d6a68a0
parent6456febb0a65315da795bcbfc8892c87e63eb49c (diff)
downloadorg-mode-48f33380572f1ed2ce3434a96efa8befeb624b8f.tar.gz
org-agenda: Fix search view's display of command keys
* lisp/org-agenda.el (org-search-view): Specify the keymap for the substitute-command-keys call because, as of b6c5a174d, this call is made outside of the agenda buffer.
-rw-r--r--lisp/org-agenda.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 6c3dccc..fb5448e 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4610,7 +4610,7 @@ is active."
(add-text-properties pos (1- (point)) (list 'face 'org-warning))
(setq pos (point))
(unless org-agenda-multi
- (insert (substitute-command-keys "\
+ (insert (substitute-command-keys "\\<org-agenda-mode-map>\
Press `\\[org-agenda-manipulate-query-add]', \
`\\[org-agenda-manipulate-query-subtract]' to add/sub word, \
`\\[org-agenda-manipulate-query-add-re]', \