Fix check for feature Org mode
authorDavid Maus <dmaus@ictsoc.de>
Fri, 16 Sep 2011 04:48:16 +0000 (06:48 +0200)
committerDavid Maus <dmaus@ictsoc.de>
Fri, 16 Sep 2011 04:48:16 +0000 (06:48 +0200)
* org-test.el: Fix check for feature Org mode.

testing/org-test.el

index 136a287..728233e 100644 (file)
@@ -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)))))