org-compat: Preserve compatibility with Emacs 24.3

* lisp/org-compat.el: Use `eval-after-load' instead of
  `with-eval-after-load' since the latter was introduce in Emacs 24.4.
This commit is contained in:
Nicolas Goaziou 2016-07-20 21:44:10 +02:00
parent 41c0f509c6
commit 7d0eef5fd5
1 changed files with 4 additions and 3 deletions

View File

@ -228,9 +228,10 @@ See `org-link-parameters' for documentation on the other parameters."
;;;; Obsolete link types
(with-eval-after-load 'org
(org-link-set-parameters "file+emacs") ;since Org 9.0
(org-link-set-parameters "file+sys")) ;since Org 9.0
(eval-after-load 'org
'(progn
(org-link-set-parameters "file+emacs") ;since Org 9.0
(org-link-set-parameters "file+sys"))) ;since Org 9.0