emacs-31 91a630245f4 2/2: ; * lisp/speedbar.el (speedbar-window--close): Doc fix.
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit 91a630245f4ccdab9c204b14ca0366d076be8d80 Author: Eli Zaretskii <[email protected]> Commit: Eli Zaretskii <[email protected]> ; * lisp/speedbar.el (speedbar-window--close): Doc fix. --- lisp/speedbar.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 778c5f5f12f..01704785c44 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -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