0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:07:46 +00:00

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.
This commit is contained in:
Kyle Meyer 2017-09-25 11:55:10 -04:00
parent 6456febb0a
commit 48f3338057

View file

@ -4610,7 +4610,7 @@ is active."
(add-text-properties pos (1- (point)) (list 'face 'org-warning)) (add-text-properties pos (1- (point)) (list 'face 'org-warning))
(setq pos (point)) (setq pos (point))
(unless org-agenda-multi (unless org-agenda-multi
(insert (substitute-command-keys "\ (insert (substitute-command-keys "\\<org-agenda-mode-map>\
Press `\\[org-agenda-manipulate-query-add]', \ Press `\\[org-agenda-manipulate-query-add]', \
`\\[org-agenda-manipulate-query-subtract]' to add/sub word, \ `\\[org-agenda-manipulate-query-subtract]' to add/sub word, \
`\\[org-agenda-manipulate-query-add-re]', \ `\\[org-agenda-manipulate-query-add-re]', \