diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-07-20 21:44:10 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-07-20 21:45:30 +0200 |
commit | 7d0eef5fd5b9dcf01f32bbe14001c3176ec1f79c (patch) | |
tree | 8ae7c24ca5231ab5f89aa910c489e7bbfcacea05 | |
parent | 41c0f509c69652be1080867a133250853237a0c0 (diff) | |
download | org-mode-7d0eef5fd5b9dcf01f32bbe14001c3176ec1f79c.tar.gz |
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.
-rw-r--r-- | lisp/org-compat.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 0675d5b..a8983e3 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -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 |