Function: erc-button--display-error-notice-with-keys-and-warn

erc-button--display-error-notice-with-keys-and-warn is an autoloaded and byte-compiled function defined in erc-button.el.gz.

Signature

(erc-button--display-error-notice-with-keys-and-warn &rest ARGS)

Documentation

Like erc-button--display-error-notice-with-keys but also warn.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-button.el.gz
;;;###autoload
(defun erc-button--display-error-notice-with-keys-and-warn (&rest args)
  "Like `erc-button--display-error-notice-with-keys' but also warn."
  (let ((string (apply #'erc-button--display-error-notice-with-keys args)))
    (with-temp-buffer
      (insert string)
      (goto-char (point-min))
      (with-syntax-table lisp-mode-syntax-table
        (skip-syntax-forward "^-"))
      (forward-char)
      (erc--lwarn
       'erc :warning (buffer-substring-no-properties (point) (point-max))))))