diff options
author | Sébastien Delafond <sdelafond@gmail.com> | 2016-02-10 18:54:48 +0100 |
---|---|---|
committer | Sébastien Delafond <sdelafond@gmail.com> | 2016-02-10 18:54:48 +0100 |
commit | 5b4347604ce1b4d25a87f6a83f75a4038a180d86 (patch) | |
tree | 87438ba3d21a30105d7d98427d322deccc9eccd3 /lisp/org-compat.el | |
parent | f083b1cce35adcd4dff9db99b033056401a203ba (diff) | |
parent | 8d8ea67656b95d8528b6cd9b43b2d53b847412b0 (diff) |
Merge tag 'upstream/8.3.3'
Upstream version 8.3.3
Diffstat (limited to 'lisp/org-compat.el')
-rw-r--r-- | lisp/org-compat.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el index d4dcdff..e7518d8 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -539,6 +539,18 @@ Implements `file-equal-p' for older emacsen and XEmacs." (buffer-narrowed-p) (/= (- (point-max) (point-min)) (buffer-size)))) +;; As of Emacs 25.1, `outline-mode` functions are under the 'outline-' +;; prefix. +(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-children 'show-children) + (defalias 'outline-show-entry 'show-entry) + (defalias 'outline-hide-entry 'hide-entry) + (defalias 'outline-hide-sublevels 'hide-sublevels)) + (defmacro org-with-silent-modifications (&rest body) (if (fboundp 'with-silent-modifications) `(with-silent-modifications ,@body) |