From 3a6c9f5f06c6c697f43561b39ad87bda31db1c62 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 22 Aug 2015 00:54:14 +0200 Subject: [PATCH] org-capture: Fix bindings in header line * lisp/org-capture.el (org-capture-mode): Display currently used bindings in header line. --- lisp/org-capture.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index bfdb4751a..93a7f2ab2 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -435,7 +435,9 @@ Turning on this mode runs the normal hook `org-capture-mode-hook'." nil " Rem" org-capture-mode-map (org-set-local 'header-line-format - "Capture buffer. Finish `C-c C-c', refile `C-c C-w', abort `C-c C-k'.")) + (substitute-command-keys + "\\Capture buffer. Finish \\[org-capture-finalize], \ +refile \\[org-capture-refile], abort \\[org-capture-kill]."))) (define-key org-capture-mode-map "\C-c\C-c" 'org-capture-finalize) (define-key org-capture-mode-map "\C-c\C-k" 'org-capture-kill) (define-key org-capture-mode-map "\C-c\C-w" 'org-capture-refile)