mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 18:41:25 -08:00
* simple.el (shell-command-to-string): Use `process-file'.
* emacs-lisp/package.el (package-tar-file-info): Handle also remote files. * emacs-lisp/package-x.el (package-upload-buffer-internal): Use `equal' for upload base check.
This commit is contained in:
parent
6446548e02
commit
b511b994ae
4 changed files with 55 additions and 42 deletions
|
|
@ -185,9 +185,9 @@ if it exists."
|
|||
(let ((package-archive-upload-base package-archive-upload-base))
|
||||
;; Check if `package-archive-upload-base' is valid.
|
||||
(when (or (not (stringp package-archive-upload-base))
|
||||
(eq package-archive-upload-base
|
||||
(car-safe
|
||||
(get 'package-archive-upload-base 'standard-value))))
|
||||
(equal package-archive-upload-base
|
||||
(car-safe
|
||||
(get 'package-archive-upload-base 'standard-value))))
|
||||
(setq package-archive-upload-base
|
||||
(read-directory-name
|
||||
"Base directory for package archive: ")))
|
||||
|
|
@ -306,4 +306,4 @@ This should be invoked from the gnus *Summary* buffer."
|
|||
|
||||
(provide 'package-x)
|
||||
|
||||
;;; package.el ends here
|
||||
;;; package-x.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue