diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-06-04 22:09:15 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-06-04 22:09:15 +0200 |
commit | 6daad64277c43a6589de1c6a146ca8a72fe0e3b9 (patch) | |
tree | 32c8d01dd7161ec4a2d20f408b18bdaa964d3c77 | |
parent | 480d3523bc83d92234c5b4ace589dae74836cb3b (diff) | |
download | org-mode-6daad64277c43a6589de1c6a146ca8a72fe0e3b9.tar.gz |
org-compat: Silence byte-compiler
-rw-r--r-- | lisp/org-compat.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 1704d5e..e4e65f1 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -45,8 +45,11 @@ (defalias 'outline-show-children 'show-children) (defalias 'outline-show-entry 'show-entry) (defalias 'outline-show-subtree 'show-subtree) - (defalias 'xref-find-definitions 'find-tag) - (defalias 'gui-get-selection 'x-get-selection)) + (defalias 'xref-find-definitions 'find-tag)) + +(eval-when-compile + (when (< emacs-major-version 25) + (defalias 'gui-get-selection 'x-get-selection))) (defun org-compatible-face (inherits specs) "Make a compatible face specification. |