Function: erc--parsed-prefix

erc--parsed-prefix is a byte-compiled function defined in erc.el.gz.

Signature

(erc--parsed-prefix)

Documentation

Return possibly cached erc--parsed-prefix(var)/erc--parsed-prefix(fun) object for the server.

Ensure the returned value describes the most recent "PREFIX" parameter advertised by the current server, with the original ordering intact. If no such parameter has yet arrived, return a stand-in from the fallback value "(qaohv)~&@%+".

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--parsed-prefix ()
  "Return possibly cached `erc--parsed-prefix' object for the server.
Ensure the returned value describes the most recent \"PREFIX\"
parameter advertised by the current server, with the original
ordering intact.  If no such parameter has yet arrived, return a
stand-in from the fallback value \"(qaohv)~&@%+\"."
  (erc--with-isupport-data PREFIX erc--parsed-prefix
    (let ((alist (erc-parse-prefix)))
      (make-erc--parsed-prefix
       :key key
       :letters (apply #'string (map-keys alist))
       :statuses (apply #'string (map-values alist))
       :alist (nreverse alist)))))