[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/agitate acaa1868d0 30/67: Move log-view section further
From: |
ELPA Syncer |
Subject: |
[elpa] externals/agitate acaa1868d0 30/67: Move log-view section further down |
Date: |
Wed, 28 Sep 2022 16:57:27 -0400 (EDT) |
branch: externals/agitate
commit acaa1868d04d9cbc04e34cf52b03247aa4e877d5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Move log-view section further down
---
agitate.el | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/agitate.el b/agitate.el
index 352b7ec592..cc4d1ed9ab 100644
--- a/agitate.el
+++ b/agitate.el
@@ -174,26 +174,6 @@ Add this function to the `diff-mode-hook'."
(when (derived-mode-p 'diff-mode)
(outline-minor-mode 1))))
-;;;; Commands for log-view (listings of commits)
-
-;;;###autoload
-(defun agitate-log-view-kill-revision ()
- "Append to `kill-ring' log-view revision at or around point.
-
-When the log-view is in the short format (one compact line per
-revision), the revision is the one on the current line. If the
-revision is expanded with `log-view-expanded-log-entry-function'
-and point is somewhere inside the expanded text, the revision is
-still the same.
-
-When the log-view is in the long format (detailed view where each
-revision spans several lines), the revision is the one pertinent
-to the text at point."
- (interactive)
- (when-let ((revision (cadr (log-view-current-entry (point) t))))
- (kill-new (format "%s" revision))
- (message "Copied: %s" revision)))
-
;;;; Commands for log-edit (commit messages)
(defun agitate--log-edit-extract-file (with-file-extension)
@@ -235,6 +215,26 @@ When called interactively, prompt for EMOJI-COMMIT among
the
'agitate--log-edit-emoji-commit-history)))
(insert emoji-commit))
+;;;; Commands for log-view (listings of commits)
+
+;;;###autoload
+(defun agitate-log-view-kill-revision ()
+ "Append to `kill-ring' log-view revision at or around point.
+
+When the log-view is in the short format (one compact line per
+revision), the revision is the one on the current line. If the
+revision is expanded with `log-view-expanded-log-entry-function'
+and point is somewhere inside the expanded text, the revision is
+still the same.
+
+When the log-view is in the long format (detailed view where each
+revision spans several lines), the revision is the one pertinent
+to the text at point."
+ (interactive)
+ (when-let ((revision (cadr (log-view-current-entry (point) t))))
+ (kill-new (format "%s" revision))
+ (message "Copied: %s" revision)))
+
;;;; Commands for vc-git (Git backend for the Version Control framework)
;;;###autoload
- [elpa] externals/agitate 45eb3b6c5d 54/67: Declare agitate-vc-git-show as interactive-only, (continued)
- [elpa] externals/agitate 45eb3b6c5d 54/67: Declare agitate-vc-git-show as interactive-only, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 912161bfc1 27/67: Add doclicense.texi which is used in the manual, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 6eb66ed1cc 44/67: Add helper to extract commit hash, ELPA Syncer, 2022/09/28
- [elpa] externals/agitate 8bb7652cac 43/67: Rename to agitate-vc-git-grep, ELPA Syncer, 2022/09/28
- [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 <=
- [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, 2022/09/28
- [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