core: add ~ character to detect local package archives

This commit is contained in:
syl20bnr 2017-01-22 00:32:34 -05:00
parent 333f762b36
commit 9909a95ad3
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ The returned list has a `package-archives' compliant format."
(lambda (x)
(cons (car x)
(if (or (string-match-p "http" (cdr x))
(string-prefix-p "~" (cdr x))
(string-prefix-p "/" (cdr x)))
(cdr x)
(concat