(install-detect-elisp-directory): Modify regexp to allow trailing `/'.
authormorioka <morioka>
Mon, 13 Apr 1998 13:30:14 +0000 (13:30 +0000)
committermorioka <morioka>
Mon, 13 Apr 1998 13:30:14 +0000 (13:30 +0000)
install.el

index 70a1714..1b9b927 100644 (file)
           dir)
        (while (setq dir (car rest))
         (if (string-match
-             (concat "^"
-                     (expand-file-name (concat ".*/" elisp-prefix) prefix)
-                     "$")
+             `,(concat "^"
+                       (expand-file-name (concat ".*/" elisp-prefix) prefix)
+                       "/?$")
              dir)
             (if (or allow-version-specific
                     (not (string-match (format "%d\\.%d"