From: morioka Date: Thu, 24 Dec 1998 08:34:44 +0000 (+0000) Subject: (install-detect-elisp-directory): Avoid problem if prefix of an emacs X-Git-Tag: apel-9_12_1~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=40d31af646272ba9e22cd54950a51534157ec703;p=elisp%2Fapel.git (install-detect-elisp-directory): Avoid problem if prefix of an emacs has its version. --- diff --git a/install.el b/install.el index f5a0d4e..c83d260 100644 --- a/install.el +++ b/install.el @@ -170,7 +170,7 @@ (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)) )