[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit df50834f24 07/10: magit-imenu--{*}: Rearrange a
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit df50834f24 07/10: magit-imenu--{*}: Rearrange and abbreviate docstrings |
Date: |
Tue, 22 Feb 2022 08:58:19 -0500 (EST) |
branch: elpa/git-commit
commit df50834f241b2b3b818f5b978e91d99b0966203b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-imenu--{*}: Rearrange and abbreviate docstrings
---
lisp/magit-imenu.el | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
diff --git a/lisp/magit-imenu.el b/lisp/magit-imenu.el
index a551fa3091..3a080825de 100644
--- a/lisp/magit-imenu.el
+++ b/lisp/magit-imenu.el
@@ -41,17 +41,15 @@
;;;###autoload
(defun magit-imenu--submodule-prev-index-position-function ()
"Move point to previous line in magit-submodule-list buffer.
-This function is used as a value for
-`imenu-prev-index-position-function'."
+Used as a value for `imenu-prev-index-position-function'."
(unless (bobp)
(forward-line -1)))
;;;###autoload
(defun magit-imenu--submodule-extract-index-name-function ()
"Return imenu name for line at point.
-This function is used as a value for
-`imenu-extract-index-name-function'. Point should be at the
-beginning of the line."
+Point should be at the beginning of the line. This function
+is used as a value for `imenu-extract-index-name-function'."
(elt (tabulated-list-get-entry) 0))
;;; Repolist mode
@@ -59,17 +57,15 @@ beginning of the line."
;;;###autoload
(defun magit-imenu--repolist-prev-index-position-function ()
"Move point to previous line in magit-repolist buffer.
-This function is used as a value for
-`imenu-prev-index-position-function'."
+Used as a value for `imenu-prev-index-position-function'."
(unless (bobp)
(forward-line -1)))
;;;###autoload
(defun magit-imenu--repolist-extract-index-name-function ()
"Return imenu name for line at point.
-This function is used as a value for
-`imenu-extract-index-name-function'. Point should be at the
-beginning of the line."
+Point should be at the beginning of the line. This function
+is used as a value for `imenu-extract-index-name-function'."
(let ((entry (tabulated-list-get-entry)))
(format "%s (%s)"
(elt entry 0)
@@ -80,8 +76,7 @@ beginning of the line."
;;;###autoload
(defun magit-imenu--rebase-prev-index-position-function ()
"Move point to previous commit in git-rebase buffer.
-This function is used as a value for
-`imenu-prev-index-position-function'."
+Used as a value for `imenu-prev-index-position-function'."
(catch 'found
(while (not (bobp))
(git-rebase-backward-line)
@@ -91,9 +86,8 @@ This function is used as a value for
;;;###autoload
(defun magit-imenu--rebase-extract-index-name-function ()
"Return imenu name for line at point.
-This function is used as a value for
-`imenu-extract-index-name-function'. Point should be at the
-beginning of the line."
+Point should be at the beginning of the line. This function
+is used as a value for `imenu-extract-index-name-function'."
(buffer-substring-no-properties (line-beginning-position)
(line-end-position)))
- [nongnu] elpa/git-commit updated (9b94654921 -> 3525928602), ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit f321409f4d 01/10: Rename magit-utils.el to magit-base.el, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit 50953fc4f0 02/10: Define section classes in magit-base.el, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit 3525928602 10/10: magit-stashes-section-map: Bind magit-stash-list, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit 9585356e98 03/10: magit-commit-section: New class, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit df50834f24 07/10: magit-imenu--{*}: Rearrange and abbreviate docstrings,
ELPA Syncer <=
- [nongnu] elpa/git-commit 8fef6b9651 05/10: magit-status-mode: Add more to Imenu index, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit 512d78cb3a 08/10: magit-imenu--{*}: Cosmetics, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit f815ea7795 09/10: Disband magit-imenu.el, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit b563e448c1 06/10: magit-refs-mode: Make Imenu items less noisy, ELPA Syncer, 2022/02/22
- [nongnu] elpa/git-commit 4727dcbe22 04/10: Refactor Imenu support, ELPA Syncer, 2022/02/22