Function: erc-status-sidebar--open

erc-status-sidebar--open is a byte-compiled function defined in erc-status-sidebar.el.gz.

Signature

(erc-status-sidebar--open)

Documentation

Maybe open the sidebar, respecting erc-status-sidebar--singular-p.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-status-sidebar.el.gz
(defun erc-status-sidebar--open ()
  "Maybe open the sidebar, respecting `erc-status-sidebar--singular-p'."
  (save-excursion
    (if (erc-status-sidebar-buffer-exists-p)
        (erc-status-sidebar-get-window)
      (with-current-buffer (erc-status-sidebar-get-buffer)
        (erc-status-sidebar-mode)
        (erc-status-sidebar-refresh)))))