diff options
author | Michael Olson <mwolson@gnu.org> | 2007-11-01 01:12:59 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2007-11-01 01:12:59 +0000 |
commit | 88406d6ee8a9108ae8265aac2f023e61f4bff827 (patch) | |
tree | 2756fffbdbb4bef290fd853db955a886a7a179fe /lisp/erc/erc-compat.el | |
parent | bce6be12b94d6008266d60dac6d3062d1126611f (diff) | |
download | emacs-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.el | 3 |
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 |