(install-detect-elisp-directory): Avoid problem if prefix of an emacs
authormorioka <morioka>
Thu, 24 Dec 1998 08:34:44 +0000 (08:34 +0000)
committermorioka <morioka>
Thu, 24 Dec 1998 08:34:44 +0000 (08:34 +0000)
has its version.

install.el

index f5a0d4e..c83d260 100644 (file)
        (while (setq dir (car rest))
         (if (string-match pat dir)
             (if (or allow-version-specific
-                    (not (string-match (format "%d\\.%d"
+                    (not (string-match (format "/%d\\.%d"
                                                emacs-major-version
                                                emacs-minor-version) dir))
                     )