Make ob-sclang.el work on emacs 24.3

* contrib/lisp/ob-sclang.el: Use eval-after-load instead of
  with-eval-after-load.
This commit is contained in:
Kaushal Modi 2017-09-07 14:08:31 -04:00
parent b16086d9af
commit 7a29c82e11
1 changed files with 3 additions and 3 deletions

View File

@ -81,9 +81,9 @@
;; TODO: temporary can't find way to let sclang output to stdout for org-babel.
(:output . "none")))
;;;###autoload
(with-eval-after-load "org"
(add-to-list 'org-src-lang-modes '("sclang" . sclang)))
(eval-after-load "org"
'(progn
(add-to-list 'org-src-lang-modes '("sclang" . sclang))))
;;; ----------------------------------------------------------------------------