diff options
author | Bastien <bzg@gnu.org> | 2020-06-01 14:39:28 +0200 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2020-06-01 14:39:28 +0200 |
commit | 9092c289b6bea38bb519e6c59a60237ae5af8f08 (patch) | |
tree | 1a6d1b493cab1bd45d751af06f70105496956c2d | |
parent | fe7830b4f31c772400d4a99f62208d53372f9fa3 (diff) | |
download | org-mode-9092c289b6bea38bb519e6c59a60237ae5af8f08.tar.gz |
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.
-rw-r--r-- | doc/org-manual.org | 2 | ||||
-rw-r--r-- | 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 69f28a3..9225217 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 c006e9c..37df299 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 "<tab>") #'org-cycle) -(org-defkey org-mode-map (kbd "C-<tab>") #'org-force-cycle-archived) +(org-defkey org-mode-map (kbd "C-c C-<tab>") #'org-force-cycle-archived) ;; Override text-mode binding to expose `complete-symbol' for ;; pcomplete functionality. (org-defkey org-mode-map (kbd "M-<tab>") nil) |