Rename remaining org-force-cycle-archived → org-cycle-force-archived

This commit is contained in:
Anders Johansson 2021-03-10 14:41:25 +01:00 committed by Ihor Radchenko
parent baffebbc33
commit f813f10818
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
3 changed files with 4 additions and 3 deletions

View File

@ -811,7 +811,7 @@ STATE should be one of the symbols listed in the docstring of
(org-get-tags nil 'local)))
(message "%s" (substitute-command-keys
"Subtree is archived and stays closed. Use \
`\\[org-force-cycle-archived]' to cycle it anyway."))))))
`\\[org-cycle-force-archived]' to cycle it anyway."))))))
(provide 'org-cycle)

View File

@ -94,7 +94,7 @@
(declare-function org-fill-paragraph "org" (&optional justify region))
(declare-function org-find-file-at-mouse "org" (ev))
(declare-function org-footnote-action "org" (&optional special))
(declare-function org-force-cycle-archived "org-cycle" ())
(declare-function org-cycle-force-archived "org-cycle" ())
(declare-function org-force-self-insert "org" (n))
(declare-function org-forward-element "org" ())
(declare-function org-forward-heading-same-level "org" (arg &optional invisible-ok))
@ -444,7 +444,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names."
;;;; TAB key with modifiers
(org-defkey org-mode-map (kbd "TAB") #'org-cycle)
(org-defkey org-mode-map (kbd "C-c C-<tab>") #'org-force-cycle-archived)
(org-defkey org-mode-map (kbd "C-c C-<tab>") #'org-cycle-force-archived)
;; Override text-mode binding to expose `complete-symbol' for
;; pcomplete functionality.
(org-defkey org-mode-map (kbd "M-TAB") nil)

View File

@ -106,6 +106,7 @@
(defalias 'org-overview #'org-cycle-overview)
(defalias 'org-content #'org-cycle-content)
(defalias 'org-reveal #'org-fold-reveal)
(defalias 'org-force-cycle-archived #'org-cycle-force-archived)
;; `org-outline-regexp' ought to be a defconst but is let-bound in
;; some places -- e.g. see the macro `org-with-limited-levels'.