summaryrefslogtreecommitdiff
path: root/lisp/erc
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-11-30 08:12:58 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-11-30 08:12:58 +0000
commitf29263b302d33bf90d5b07d3d6defa36788c6783 (patch)
tree71df1ebdc1eb253dd1a69f5dca4c61d7321de9f5 /lisp/erc
parent361763416f77cabb5787982f31b502ddba0bef72 (diff)
downloademacs-f29263b302d33bf90d5b07d3d6defa36788c6783.tar.gz
* erc.el (open-ssl-stream, open-tls-stream, erc-network-name):
Declare as functions. * textmodes/reftex-index.el (texmathp): * textmodes/reftex-auc.el (TeX-argument-insert) (TeX-argument-prompt, multi-prompt, LaTeX-add-index-entries) (LaTeX-add-labels, LaTeX-bibitem-list, LaTeX-index-entry-list) (LaTeX-label-list): * nxml/rng-maint.el (rng-clear-cached-state, rng-clear-overlays) (rng-clear-conditional-region, rng-do-some-validation): Declare as functions. (rng-error-count, rng-validate-up-to-date-end): Pacify byte compiler.
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/ChangeLog5
-rw-r--r--lisp/erc/erc.el6
2 files changed, 11 insertions, 0 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index cefc668fafe..61757622454 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-30 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * erc.el (open-ssl-stream, open-tls-stream, erc-network-name):
+ Declare as functions.
+
2007-11-29 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
* erc-backend.el, erc.el:
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index ac9c3f6df9b..c6e5ea99c83 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -2165,6 +2165,8 @@ Arguments are the same as for `erc'."
(defalias 'erc-select-ssl 'erc-ssl)
+(declare-function open-ssl-stream "ext:ssl" (name buffer host service))
+
(defun erc-open-ssl-stream (name buffer host port)
"Open an SSL stream to an IRC server.
The process will be given the name NAME, its target buffer will be
@@ -2189,6 +2191,8 @@ Arguments are the same as for `erc'."
(let ((erc-server-connect-function 'erc-open-tls-stream))
(apply 'erc r)))
+(declare-function open-tls-stream "tls" (name buffer host port))
+
(defun erc-open-tls-stream (name buffer host port)
"Open an TLS stream to an IRC server.
The process will be given the name NAME, its target buffer will be
@@ -2225,6 +2229,8 @@ but you won't see it.
WARNING: Do not set this variable directly! Instead, use the
function `erc-toggle-debug-irc-protocol' to toggle its value.")
+(declare-function erc-network-name "erc-networks" ())
+
(defun erc-log-irc-protocol (string &optional outbound)
"Append STRING to the buffer *erc-protocol*.