summaryrefslogtreecommitdiff
path: root/lisp/erc
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-09-19 20:58:19 +0000
committerGlenn Morris <rgm@gnu.org>2009-09-19 20:58:19 +0000
commit8c3675956af01471c95ca9d4df86a25c096a649a (patch)
treed8f2ee4034dfbf5afad557d6543fa228be7b0700 /lisp/erc
parent572087ef52f4024a1c677891e6022cdd5f15455e (diff)
downloademacs-8c3675956af01471c95ca9d4df86a25c096a649a.tar.gz
(line): Define for compiler.
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/ChangeLog4
-rw-r--r--lisp/erc/erc-lang.el2
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index aef7d0c3c60..cf170809ee3 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-19 Glenn Morris <rgm@gnu.org>
+
+ * erc-lang.el (line): Define for compiler.
+
2009-07-22 Kevin Ryde <user42@zip.com.au>
* erc/erc.el (erc-cmd-MODE): Hyperlink urls in docstring with URL `...'.
diff --git a/lisp/erc/erc-lang.el b/lisp/erc/erc-lang.el
index 1395a561ff5..73d836348c7 100644
--- a/lisp/erc/erc-lang.el
+++ b/lisp/erc/erc-lang.el
@@ -197,6 +197,8 @@ Normungsinstitut (ON), Postfach 130, A-1021 Vienna, Austria.")
iso-638-languages)))
(message "%s" (cdr (assoc code iso-638-languages))))
+(defvar line) ; dynamically bound in erc-process-input-line
+
(defun erc-cmd-LANG (language)
"Display the language name for the language code given by LANGUAGE."
(let ((lang (cdr (assoc language iso-638-languages))))