Function: erc-cmd-QUERY
erc-cmd-QUERY is an interactive and byte-compiled function defined in
erc.el.gz.
Signature
(erc-cmd-QUERY &optional USER)
Documentation
Open a query with USER.
The type of query window/frame/etc will depend on the value of
erc-query-display.
If USER is omitted, close the current query buffer if one exists
- except this is broken now ;-)
Key Bindings
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-QUERY (&optional user)
"Open a query with USER.
The type of query window/frame/etc will depend on the value of
`erc-query-display'.
If USER is omitted, close the current query buffer if one exists
- except this is broken now ;-)"
(interactive
(list (read-string "Start a query with: ")))
(let ((session-buffer (erc-server-buffer))
(erc-join-buffer erc-query-display))
(if user
(erc-query user session-buffer)
;; currently broken, evil hack to display help anyway
;(erc-delete-query))))
(signal 'wrong-number-of-arguments ""))))