%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/erc/ |
Current File : //usr/local/share/emacs/27.2/lisp/erc/erc-replace.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\301%\210\307\310\304\311\306\303\312\313&\207" [require erc custom-declare-group erc-replace nil "Replace text from incoming messages" :group custom-declare-variable erc-replace-alist "Alist describing text to be replaced in incoming messages.\nThis is useful for filters.\n\nThe alist has elements of the form (FROM . TO). FROM can be a regular\nexpression or a variable, or any sexp, TO can be a string or a\nfunction to call, or any sexp. If a function, it will be called with\none argument, the string to be replaced, and it should return a\nreplacement string." :type (repeat (cons :tag "Search & Replace" (choice :tag "From" regexp variable sexp) (choice :tag "To" string function sexp)))] 8) #@99 Function to run from `erc-insert-modify-hook'. It replaces text according to `erc-replace-alist'. (defalias 'erc-replace-insert #[nil "\301\302\"\207" [erc-replace-alist mapcar #[(elt) "eb\210@A\211;\204 \303\n!\304\n\305\306#\205C ;\203&