[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/agitate f29bc8e32a 21/67: Reorder some functions
From: |
ELPA Syncer |
Subject: |
[elpa] externals/agitate f29bc8e32a 21/67: Reorder some functions |
Date: |
Wed, 28 Sep 2022 16:57:26 -0400 (EDT) |
branch: externals/agitate
commit f29bc8e32a54836ba1e5d3f3665c7ee0309971d6
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Reorder some functions
---
agitate.el | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/agitate.el b/agitate.el
index 84cce76e13..8e99de5ba2 100644
--- a/agitate.el
+++ b/agitate.el
@@ -200,6 +200,16 @@ file extension. Else omit it."
;;;; Commands for vc-git (Git backend for the Version Control framework)
+;;;###autoload
+(defun agitate-git-grep (regexp)
+ "Run `git-grep(1)' for REGEXP in `vc-root-dir'.
+This is a simple wrapper around `vc-git-grep' to streamline the
+basic task of searching for a regexp in the current Git
+repository. Use the original `vc-git-grep' for its other
+features."
+ (interactive (list (read-regexp "git-grep: " nil 'vc-git-history)))
+ (vc-git-grep regexp "*" (vc-root-dir)))
+
(defun agitate--vc-git-prompt-remote ()
"Helper prompt for `agitate-git-push'."
(when-let ((remotes (process-lines vc-git-program "remote")))
@@ -217,15 +227,5 @@ 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
-(defun agitate-git-grep (regexp)
- "Run `git-grep(1)' for REGEXP in `vc-root-dir'.
-This is a simple wrapper around `vc-git-grep' to streamline the
-basic task of searching for a regexp in the current Git
-repository. Use the original `vc-git-grep' for its other
-features."
- (interactive (list (read-regexp "git-grep: " nil 'vc-git-history)))
- (vc-git-grep regexp "*" (vc-root-dir)))
-
(provide 'agitate)
;;; agitate.el ends here
- [elpa] externals/agitate 496eba8497 52/67: Add agitate-vc-git-show prototype, (continued)
- [elpa] externals/agitate 496eba8497 52/67: Add agitate-vc-git-show prototype, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 1e998e1466 59/67: Rename helper for single commit command, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate de2094a2f5 53/67: Placate the compiler, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 50251c7eff 64/67: Add agitate-log-view-kill-revision-expanded cmd, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 60dea993b9 25/67: Add COPYING GNU General Public License, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate a2173cf82c 39/67: Implement conventional commits; refine emoji commits, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate acaa1868d0 30/67: Move log-view section further down, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 2b8a593a5d 38/67: Add missing backronym from README.md, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 52c9968e5f 19/67: Refine agitate-vc-git-push doc string, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate b7a51e04d2 18/67: Adjust indentation, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate f29bc8e32a 21/67: Reorder some functions,
ELPA Syncer <=
- [elpa] externals/agitate 3185f2becd 50/67: Clarify word in agitate-vc-git-grep doc string, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 8459e26050 45/67: Add helper prompt for commit log completion, ELPA Syncer, 2022/09/28