Silence byte-compiler

This commit is contained in:
Nicolas Goaziou 2015-11-13 23:29:04 +01:00
parent 37810b7177
commit f416ee1a24
1 changed files with 6 additions and 5 deletions

View File

@ -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-subtree 'hide-subtree)
(defalias 'outline-show-subtree 'show-subtree)
(defalias 'outline-show-branches 'show-branches)
(defalias 'outline-show-entry 'show-entry)
(defalias 'outline-hide-entry 'hide-entry)
(defalias 'outline-hide-sublevels 'hide-sublevels)
(defalias 'outline-hide-subtree 'hide-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-show-subtree 'show-subtree)
(defalias 'xref-find-definitions 'find-tag))
(defmacro org-with-silent-modifications (&rest body)