mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-04 08:47:03 +00:00
Fix check for feature Org mode
* org-test.el: Fix check for feature Org mode.
This commit is contained in:
parent
65d05b00b0
commit
37db5deea5
@ -31,7 +31,7 @@
|
||||
(or load-file-name buffer-file-name)))))
|
||||
(let ((org-lisp-dir (expand-file-name
|
||||
(concat org-test-dir "../lisp"))))
|
||||
(unless (member 'features "org")
|
||||
(unless (featurep 'org)
|
||||
(setq load-path (cons org-lisp-dir load-path))
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages '((sh . t)))))
|
||||
|
Loading…
Reference in New Issue
Block a user