From 8197c73b14a341a8b8a6f8cd620466d566ebdb2d Mon Sep 17 00:00:00 2001 From: Ron Parker Date: Mon, 26 Sep 2022 16:37:04 -0400 Subject: [PATCH] Add magit-section to pinned packages This addresses the which-func-ff-hook error: (void-function magit-section--backward-find) seen when `magit-status' is run in a buffer with imenu support on a fresh Prelude checkout using the sample `prelude-pinned-packages.el'. In magit 3.3.0, magit-section was spun off into its own package. Later, magit commit 4727dcb removed the `magit-section--backward-find' from magit-section.el. Therefore, unless magit and magit-section are in the same pinned or unpinned state the above error will occur. --- sample/prelude-pinned-packages.el | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/prelude-pinned-packages.el b/sample/prelude-pinned-packages.el index 4c5bb69..598793f 100644 --- a/sample/prelude-pinned-packages.el +++ b/sample/prelude-pinned-packages.el @@ -83,6 +83,7 @@ (macrostep . "melpa-stable") (magit . "melpa-stable") (magit-popup . "melpa-stable") + (magit-section . "melpa-stable") (makey . "melpa-stable") (markdown-mode . "melpa-stable") (marshal . "melpa-stable")