From 560e4c03e2bf4a856359c5cf02344499d16c4123 Mon Sep 17 00:00:00 2001 From: MoHKale Date: Mon, 30 Dec 2019 14:44:59 +0000 Subject: [PATCH] remove map restriction on org-capture header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit org-capture-header only allows keys from the org-capture-map, meaning shorter, custom bindings such as spacemacs's ", ," won't show up. This change removes the restriction and thus allows the bindings to show up 😄. --- lisp/org/org-capture.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/org/org-capture.el b/lisp/org/org-capture.el index 4f97e17ea3c9..08f14a861c57 100644 --- a/lisp/org/org-capture.el +++ b/lisp/org/org-capture.el @@ -513,9 +513,8 @@ Turning on this mode runs the normal hook `org-capture-mode-hook'." (setq-local header-line-format (substitute-command-keys - "\\Capture buffer. Finish \ -`\\[org-capture-finalize]', refile `\\[org-capture-refile]', \ -abort `\\[org-capture-kill]'."))) + "Capture buffer. Finish `\\[org-capture-finalize]', refile \ +`\\[org-capture-refile]', abort `\\[org-capture-kill]'."))) ;;; The main commands