瀏覽代碼

org-compat: Fix regression introduced in 6daad6

Reported-by: Humberto Nanni <humberto.nanni@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108550>
Nicolas Goaziou 8 年之前
父節點
當前提交
02de57b597
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      lisp/org-compat.el

+ 2 - 5
lisp/org-compat.el

@@ -47,11 +47,8 @@
   (defalias 'outline-show-entry 'show-entry)
   (defalias 'outline-show-subtree 'show-subtree)
   (defalias 'xref-find-definitions 'find-tag)
-  (defalias 'format-message 'format))
-
-(eval-when-compile
-  (when (< emacs-major-version 25)
-    (defalias 'gui-get-selection 'x-get-selection)))
+  (defalias 'format-message 'format)
+  (defalias 'gui-get-selection 'x-get-selection))
 
 
 ;;; Obsolete aliases (remove them once the next major release is released).