aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Fischer <frank-fischer@shadow-soft.de>2015-04-20 14:24:23 +0200
committerFrank Fischer <frank-fischer@shadow-soft.de>2015-04-20 14:24:23 +0200
commit38ea7f52e825c0f920d560d423a96e8db3c30004 (patch)
tree08dfcc7290e08e144fda03c08570252ddc8a0e59
parentff7ad41544952ff81ea05fa05473b31522b6b5d5 (diff)
evilupdate: use `nonews` instead of `-n` argument
-rw-r--r--Makefile2
-rwxr-xr-xscripts/evilupdate2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3cd67f0..7f58ae1 100644
--- a/Makefile
+++ b/Makefile
@@ -116,5 +116,5 @@ version:
# Change the version using make VERSION=x.y.z, but do not post to the newsgroup
nversion:
- @$(EMACS) --script scripts/evilupdate -n "${VERSION}"
+ @$(EMACS) --script scripts/evilupdate nonews "${VERSION}"
diff --git a/scripts/evilupdate b/scripts/evilupdate
index be06ede..fae4fcc 100755
--- a/scripts/evilupdate
+++ b/scripts/evilupdate
@@ -162,7 +162,7 @@ If NONEWS is non-nil do not post a message to the newsgroup."
(cond
((= (length argv) 2)
- (unless (equal (car argv) "-n")
+ (unless (equal (car argv) "nonews")
(user-error "Usage: evilupdate.el [-n] VERSION"))
(evilupdate-update (cadr argv) t))
((= (length argv) 1)