aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-package.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/oni-package.el b/oni-package.el
index e752f60..fe4ebba 100644
--- a/oni-package.el
+++ b/oni-package.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190203132826
+;; Version: 20190218230337
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -59,7 +59,11 @@
"Add a news item to the webpages associated with the package archive.
TITLE is the title of the news item.
DESCRIPTION is the text of the news item."
- (interactive "sTitle: \nsText: \nsArchive URL: ")
+ (interactive
+ (list
+ (read-string "Title: ")
+ (read-string "Text: ")
+ (completing-read "Archive URL: " (mapcar 'cdr package-archives))))
(package--update-file "elpa.rss"
"<description>"
(package--make-rss-entry title description archive-url))