emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/agitate 52c9968e5f 19/67: Refine agitate-vc-git-push do


From: ELPA Syncer
Subject: [elpa] externals/agitate 52c9968e5f 19/67: Refine agitate-vc-git-push doc string
Date: Wed, 28 Sep 2022 16:57:26 -0400 (EDT)

branch: externals/agitate
commit 52c9968e5fbf00f8a2edf7b05f1d243c796682d4
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Refine agitate-vc-git-push doc string
---
 agitate.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/agitate.el b/agitate.el
index 50cb062b90..9116b7bc2c 100644
--- a/agitate.el
+++ b/agitate.el
@@ -209,7 +209,12 @@ file extension.  Else omit it."
 
 ;;;###autoload
 (defun agitate-vc-git-push (prompt)
-  "Substitute for `vc-git-push' with the same meaning for PROMPT."
+  "Behave like `vc-git-push' but prompt for a remote, if needed.
+The meaning of PROMPT is the same as that of `vc-git-push'.  In
+such a case, do not prompt for a remote.
+
+To use this function add it as an override advice to
+`vc-git-push'."
   (vc-git--pushpull "push" prompt (unless prompt 
`(,(agitate--vc-git-prompt-remote)))))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]