Lines Matching defs:string
37 (defun erc-decode-coding-string (s coding-system)
39 (decode-coding-string s coding-system t))
41 (defun erc-encode-coding-string (s coding-system)
43 Return the same string, if the encoding operation is trivial.
45 (encode-coding-string s coding-system t))
51 (defalias 'erc-replace-regexp-in-string 'replace-regexp-in-string)
56 (format-time-string "%Y-%m-%d" emacs-build-time))
60 (defun erc-replace-match-subexpression-in-string
61 (newtext string match subexp start &optional fixedcase literal)
63 MATCH is the text which matched the subexpression (see `match-string').
67 (string-match match string start)
68 (replace-match newtext fixedcase literal string))
69 (t (replace-match newtext fixedcase literal string subexp))))
101 (defmacro erc-assert (form &optional show-args string &rest args)
116 (if string
117 (erc-list* 'error string (append sargs args))