Function: erc--current-buffer-joined-p

erc--current-buffer-joined-p is a byte-compiled function defined in erc.el.gz.

Signature

(erc--current-buffer-joined-p)

Documentation

Return whether the current target buffer is joined.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; default target handling

(defun erc--current-buffer-joined-p ()
  "Return whether the current target buffer is joined."
  ;; This may be a reliable means of detecting subscription status,
  ;; but it's also roundabout and awkward.  Perhaps it's worth
  ;; discussing adding a joined slot to `erc--target' for this.
  (cl-assert erc--target)
  (and (erc--target-channel-p erc--target)
       (erc-get-channel-user (erc-current-nick)) t))