From 9092c289b6bea38bb519e6c59a60237ae5af8f08 Mon Sep 17 00:00:00 2001 From: Bastien Date: Mon, 1 Jun 2020 14:39:28 +0200 Subject: [PATCH] Bind `org-force-cycle-archived' to C-c C-TAB * lisp/org-keys.el (org-mode-map): Bind `org-force-cycle-archived' to C-c C-TAB instead of C-TAB to avoid conflict with native Emacs keybinding. * doc/org-manual.org (Internal archiving): Update a keybinding. --- doc/org-manual.org | 2 +- lisp/org-keys.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 69f28a3af..92252179b 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -7340,7 +7340,7 @@ The following commands help manage the =ARCHIVE= tag: child. If point is /not/ on a headline when this command is invoked, check the level 1 trees. -- {{{kbd(C-TAB)}}} (~org-force-cycle-archived~) :: +- {{{kbd(C-c C-TAB)}}} (~org-force-cycle-archived~) :: #+kindex: C-TAB Cycle a tree even if it is tagged with =ARCHIVE=. diff --git a/lisp/org-keys.el b/lisp/org-keys.el index c006e9c12..37df29983 100644 --- a/lisp/org-keys.el +++ b/lisp/org-keys.el @@ -445,7 +445,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names." ;;;; TAB key with modifiers (org-defkey org-mode-map (kbd "C-i") #'org-cycle) (org-defkey org-mode-map (kbd "") #'org-cycle) -(org-defkey org-mode-map (kbd "C-") #'org-force-cycle-archived) +(org-defkey org-mode-map (kbd "C-c C-") #'org-force-cycle-archived) ;; Override text-mode binding to expose `complete-symbol' for ;; pcomplete functionality. (org-defkey org-mode-map (kbd "M-") nil)