; * lisp/speedbar.el (speedbar-window--close): Doc fix.

This commit is contained in:
Eli Zaretskii 2026-08-16 10:57:42 +03:00
parent 0792252594
commit 91a630245f

View file

@ -1112,8 +1112,8 @@ supported at a time.
(defun speedbar-window--close (&optional no-kill-buffer)
"Close `speedbar-window'.
When NO-KILL-BUFFER is not nil, close window without killing
'speedbar-buffer', which is useful for 'kill-buffer-hook'."
If optional argument NO-KILL-BUFFER is not nil, close window without
killing `speedbar-buffer', which is useful for `kill-buffer-hook'."
(when (speedbar-window--live-p)
(let ((current-window (selected-window)))
;; store the current window width