[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 9585356e98 03/10: magit-commit-section: New cla
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 9585356e98 03/10: magit-commit-section: New class |
Date: |
Tue, 22 Feb 2022 08:58:15 -0500 (EST) |
branch: elpa/git-commit
commit 9585356e98f0fee1d396bd3bac7c16e5a3a4f072
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-commit-section: New class
---
lisp/magit-base.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lisp/magit-base.el b/lisp/magit-base.el
index e4641c616f..623afa531d 100644
--- a/lisp/magit-base.el
+++ b/lisp/magit-base.el
@@ -439,6 +439,9 @@ and delay of your graphical environment or operating
system."
;;; Section Classes
+(defclass magit-commit-section (magit-section)
+ ())
+
(defclass magit-file-section (magit-section)
((keymap :initform 'magit-file-section-map)
(source :initform nil)
@@ -456,6 +459,7 @@ and delay of your graphical environment or operating
system."
(to-range :initform nil)
(about :initform nil)))
+(setf (alist-get 'commit magit--section-type-alist) 'magit-commit-section)
(setf (alist-get 'file magit--section-type-alist) 'magit-file-section)
(setf (alist-get 'module magit--section-type-alist) 'magit-module-section)
(setf (alist-get 'hunk magit--section-type-alist) 'magit-hunk-section)
- [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 <=
- [nongnu] elpa/git-commit df50834f24 07/10: magit-imenu--{*}: Rearrange and abbreviate docstrings, ELPA Syncer, 2022/02/22
- [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