Skip to content

Commit

Permalink
Add magit-section to pinned packages
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rdparker authored and stefankeidel committed Oct 4, 2022
1 parent eec7534 commit 4b1c1b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sample/prelude-pinned-packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 4b1c1b3

Please sign in to comment.