Skip to content

Commit

Permalink
biome-grid: run biome-grid-mode-hook after buffer init
Browse files Browse the repository at this point in the history
  • Loading branch information
SqrtMinusOne committed Jan 25, 2024
1 parent c879e80 commit 8fae4de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions biome-grid.el
Original file line number Diff line number Diff line change
Expand Up @@ -661,11 +661,13 @@ displaying more columns than the window width, so there's
`biome-grid-columns' to toggle columns."
(let ((buf (generate-new-buffer "*biome-grid*")))
(with-current-buffer buf
(biome-grid-mode)
(let (biome-grid-mode-hook)
(biome-grid-mode))
(biome-grid--set-list query results)
(tabulated-list-print t)
(tabulated-list-init-header)
(toggle-truncate-lines 1))
(toggle-truncate-lines 1)
(run-mode-hooks 'biome-grid-mode-hook))
(switch-to-buffer buf)))

(provide 'biome-grid)
Expand Down

0 comments on commit 8fae4de

Please sign in to comment.