mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Stylistic fix for code chunk which was reassigning a var
This commit is contained in:
parent
18fe834e0a
commit
b9666e7867
1 changed files with 2 additions and 4 deletions
|
@ -201,9 +201,6 @@ the same arguments."
|
|||
"Create a tar FILE containing the contents of DIR, or just FILES if non-nil.
|
||||
The file is written to `package-build-working-dir'."
|
||||
(let* ((default-directory package-build-working-dir))
|
||||
(if files
|
||||
(setq files (mapcar (lambda (fn) (concat dir "/" fn)) files))
|
||||
(setq files (list dir)))
|
||||
(apply 'process-file
|
||||
"tar" nil
|
||||
(get-buffer-create "*package-build-checkout*")
|
||||
|
@ -212,7 +209,8 @@ The file is written to `package-build-working-dir'."
|
|||
"--exclude=.svn"
|
||||
"--exclude=.git*"
|
||||
"--exclude=_darcs"
|
||||
files)))
|
||||
(or (mapcar (lambda (fn) (concat dir "/" fn)) files)
|
||||
(list dir)))))
|
||||
|
||||
(defun pb/get-package-info (file-path)
|
||||
"Get a vector of package info from the docstrings in FILE-PATH."
|
||||
|
|
Loading…
Reference in a new issue