emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 4fbd8bfae0 15/44: Alias new org-fold functions to t


From: ELPA Syncer
Subject: [elpa] externals/org 4fbd8bfae0 15/44: Alias new org-fold functions to their old shorter names
Date: Mon, 25 Apr 2022 07:57:56 -0400 (EDT)

branch: externals/org
commit 4fbd8bfae0c54169b3fdd0130e1ed45cdba1d0e8
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    Alias new org-fold functions to their old shorter names
---
 lisp/org.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lisp/org.el b/lisp/org.el
index 07e6d640d9..fcc0c76f9f 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -99,6 +99,14 @@
 (require 'org-fold)
 
 (require 'org-cycle)
+(defvaralias 'org-hide-block-startup 'org-cycle-hide-block-startup)
+(defvaralias 'org-pre-cycle-hook 'org-cycle-pre-hook)
+(defvaralias 'org-tab-first-hook 'org-cycle-tab-first-hook)
+(defalias 'org-global-cycle #'org-cycle-global)
+(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'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]