Browse Source

Silence byte-compiler

Nicolas Goaziou 9 years ago
parent
commit
f416ee1a24
1 changed files with 5 additions and 4 deletions
  1. 5 4
      lisp/org-compat.el

+ 5 - 4
lisp/org-compat.el

@@ -542,13 +542,14 @@ Implements `file-equal-p' for older emacsen and XEmacs."
 ;; As of Emacs 25.1, `outline-mode` functions are under the 'outline-'
 ;; prefix and `find-tag` is replaced with `xref-find-definition`.
 (when (< emacs-major-version 25)
-  (defalias 'outline-show-all 'show-all)
+  (defalias 'outline-hide-entry 'hide-entry)
+  (defalias 'outline-hide-sublevels 'hide-sublevels)
   (defalias 'outline-hide-subtree 'hide-subtree)
-  (defalias 'outline-show-subtree 'show-subtree)
+  (defalias 'outline-show-all 'show-all)
   (defalias 'outline-show-branches 'show-branches)
+  (defalias 'outline-show-children 'show-children)
   (defalias 'outline-show-entry 'show-entry)
-  (defalias 'outline-hide-entry 'hide-entry)
-  (defalias 'outline-hide-sublevels 'hide-sublevels)
+  (defalias 'outline-show-subtree 'show-subtree)
   (defalias 'xref-find-definitions 'find-tag))
 
 (defmacro org-with-silent-modifications (&rest body)