Procházet zdrojové kódy

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 před 8 roky
rodič
revize
02de57b597
1 změnil soubory, kde provedl 2 přidání a 5 odebrání
  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).