mirror of
https://github.com/correl/melpa.git
synced 2024-12-01 03:00:08 +00:00
Bind default-directory to working-dir on checkout.
Without this, actions in resp. checkout function will affect the project that is currenly `default-directory`.
This commit is contained in:
parent
5e0e03e66a
commit
d7f413f039
1 changed files with 3 additions and 2 deletions
|
@ -178,8 +178,9 @@ CONFIG, if any, or `package-build-default-files-spec' otherwise."
|
|||
(pb/message "Fetcher: %s" repo-type)
|
||||
(unless (eq 'wiki repo-type)
|
||||
(pb/message "Source: %s\n" (or (plist-get config :repo) (plist-get config :url))))
|
||||
(funcall (intern (format "pb/checkout-%s" repo-type))
|
||||
package-name config working-dir)))
|
||||
(let ((default-directory working-dir))
|
||||
(funcall (intern (format "pb/checkout-%s" repo-type))
|
||||
package-name config working-dir))))
|
||||
|
||||
(defvar pb/last-wiki-fetch-time 0
|
||||
"The time at which an emacswiki URL was last requested.
|
||||
|
|
Loading…
Reference in a new issue