Fix last commit.
[elisp/apel.git] / install.el
index 84b63d6..0ddda7e 100644 (file)
 (defvar install-prefix
   (if (or (<= emacs-major-version 18)
          (featurep 'xemacs)
-         (and (boundp 'system-configuration-options) ; 19.29 or later
-              (string= system-configuration-options "NT"))) ; for Meadow
+         (featurep 'meadow) ; for Meadow
+         (and (eq system-type 'windows-nt) ; for NTEmacs
+              (>= emacs-major-version 20)))
       (expand-file-name "../../.." exec-directory)
     (expand-file-name "../../../.." data-directory)))