diff options
author | Gustav Hållberg <gustav@gmail.com> | 2010-04-17 18:04:15 +0200 |
---|---|---|
committer | Gustav Hållberg <gustav@gmail.com> | 2010-04-30 00:28:33 +0200 |
commit | b51a910fafdea01e64a1d41100f831179bf5f5b5 (patch) | |
tree | 7da95a48ca75f00250c5714f959e6af7bd0ac6fc | |
parent | 2570f6e584712f2f5b133d183319f4f26b55e1fa (diff) | |
download | stgit-b51a910fafdea01e64a1d41100f831179bf5f5b5.tar.gz |
stgit.el: Make "C-u r" raise error if run with prefix argument without a patch
Signed-off-by: Gustav Hållberg <gustav@gmail.com>
-rw-r--r-- | contrib/stgit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/stgit.el b/contrib/stgit.el index 3e60c92..275299b 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -2475,7 +2475,7 @@ With prefix argument, refresh the marked patch or the patch under point." (interactive "P") (stgit-assert-mode) (let ((patchargs (if arg - (let ((patches (stgit-patches-marked-or-at-point nil t))) + (let ((patches (stgit-patches-marked-or-at-point t t))) (when (> (length patches) 1) (error "Too many patches marked")) (cons "-p" patches)) |