mirror of
https://github.com/SqrtMinusOne/biome.git
synced 2025-12-10 14:35:13 +03:00
biome-grid: run biome-grid-mode-hook after buffer init
This commit is contained in:
parent
c879e80dfe
commit
8fae4deec3
1 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue