pub fn set_current(buf: &Buffer) -> Option<()>
Sets the specified buffer as the current buffer in the active window.
crate::notify::error