mirror of
https://github.com/larstvei/Try.git
synced 2024-11-26 03:28:31 +00:00
Merge pull request #8 from torenord/master
`try-and-refresh' should take the same arguments as `try'
This commit is contained in:
commit
8831ded178
4
try.el
4
try.el
@ -65,10 +65,10 @@
|
||||
(completing-read "url or package: " pkgs)))
|
||||
|
||||
;;;###autoload
|
||||
(defun try-and-refresh ()
|
||||
(defun try-and-refresh (&optional url-or-package)
|
||||
"Refreshes package-list before calling `try'."
|
||||
(interactive)
|
||||
(package-refresh-contents) (try))
|
||||
(package-refresh-contents) (try url-or-package))
|
||||
|
||||
;;;###autoload
|
||||
(defun try (&optional url-or-package)
|
||||
|
Loading…
Reference in New Issue
Block a user