mu4e-window: fix typo

This commit is contained in:
Dirk-Jan C. Binnema
2025-02-02 12:09:03 +02:00
parent 09965b2d09
commit c6f9820d19

View File

@ -369,7 +369,7 @@ This function is best called from the hook
(unless (mu4e-current-buffer-type-p 'view)
(mu4e-error "Cannot resize as this is not a valid view buffer"))
(when-let* ((win (and mu4e-linked-headers-buffer
(get-buffer-window mu4e-linked-headers-buffer)))
(get-buffer-window mu4e-linked-headers-buffer))))
;; This can fail for any number of reasons. If it does, we do
;; nothing. If the user has customized the window display we may
;; find it impossible to resize the window, and that should not be
@ -380,7 +380,7 @@ This function is best called from the hook
(window-width win nil))
t t nil))
((eq mu4e-split-view 'horizontal)
(set-window-text-height win mu4e-headers-visible-lines)))))))
(set-window-text-height win mu4e-headers-visible-lines))))))
(provide 'mu4e-window)
;;; mu4e-window.el ends here