summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-compat.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2007-11-01 01:12:59 +0000
committerMichael Olson <mwolson@gnu.org>2007-11-01 01:12:59 +0000
commit88406d6ee8a9108ae8265aac2f023e61f4bff827 (patch)
tree2756fffbdbb4bef290fd853db955a886a7a179fe /lisp/erc/erc-compat.el
parentbce6be12b94d6008266d60dac6d3062d1126611f (diff)
downloademacs-88406d6ee8a9108ae8265aac2f023e61f4bff827.tar.gz
Silence some byte-compiler warnings in ERC
Diffstat (limited to 'lisp/erc/erc-compat.el')
-rw-r--r--lisp/erc/erc-compat.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/erc/erc-compat.el b/lisp/erc/erc-compat.el
index 47bdd94ade2..d6591415867 100644
--- a/lisp/erc/erc-compat.el
+++ b/lisp/erc/erc-compat.el
@@ -50,6 +50,9 @@ See `erc-encoding-coding-alist'."
(defalias 'erc-delete-dups 'delete-dups)
(defalias 'erc-replace-regexp-in-string 'replace-regexp-in-string)
+(defun erc-set-write-file-functions (new-val)
+ (set (make-local-variable 'write-file-functions) new-val))
+
(defvar erc-emacs-build-time
(if (stringp emacs-build-time)
emacs-build-time