changeset 86851:321f32eb4bf5

* 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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 30 Nov 2007 08:12:58 +0000
parents 2ef1dabae41e
children f8a7334b3c71
files lisp/ChangeLog lisp/erc/ChangeLog lisp/erc/erc.el lisp/nxml/rng-maint.el lisp/textmodes/reftex-auc.el lisp/textmodes/reftex-index.el
diffstat 6 files changed, 45 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Nov 30 08:06:25 2007 +0000
+++ b/lisp/ChangeLog	Fri Nov 30 08:12:58 2007 +0000
@@ -1,3 +1,15 @@
+2007-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* 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.
+
 2007-11-30  Glenn Morris  <rgm@gnu.org>
 
 	* emacs-lisp/byte-run.el (declare-function): Add optional fourth
--- a/lisp/erc/ChangeLog	Fri Nov 30 08:06:25 2007 +0000
+++ b/lisp/erc/ChangeLog	Fri Nov 30 08:12:58 2007 +0000
@@ -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:
--- a/lisp/erc/erc.el	Fri Nov 30 08:06:25 2007 +0000
+++ b/lisp/erc/erc.el	Fri Nov 30 08:12:58 2007 +0000
@@ -2165,6 +2165,8 @@
 
 (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 @@
   (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 @@
 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*.
 
--- a/lisp/nxml/rng-maint.el	Fri Nov 30 08:06:25 2007 +0000
+++ b/lisp/nxml/rng-maint.el	Fri Nov 30 08:12:58 2007 +0000
@@ -329,6 +329,13 @@
   (interactive)
   (rng-time-function 'rng-validate-buffer))
 
+(defvar rng-error-count)
+(defvar rng-validate-up-to-date-end)
+(declare-function rng-clear-cached-state "rng-valid" (start end))
+(declare-function rng-clear-overlays "rng-valid" (beg end))
+(declare-function rng-clear-conditional-region "rng-valid" ())
+(declare-function rng-do-some-validation "rng-valid" ())
+
 (defun rng-validate-buffer ()
   (save-restriction
     (widen)
--- a/lisp/textmodes/reftex-auc.el	Fri Nov 30 08:06:25 2007 +0000
+++ b/lisp/textmodes/reftex-auc.el	Fri Nov 30 08:12:58 2007 +0000
@@ -33,6 +33,18 @@
 (require 'reftex)
 ;;;
 
+(declare-function TeX-argument-insert "ext:tex" (name optional &optional prefix))
+(declare-function TeX-argument-prompt "ext:tex" (optional prompt default &optional complete))
+(declare-function multi-prompt "ext:multi-prompt" 
+		  (separator
+		   unique prompt table
+		   &optional mp-predicate require-match initial history))
+(declare-function LaTeX-add-index-entries "ext:tex" (&rest entries) t)
+(declare-function LaTeX-add-labels "ext:tex" (&rest entries) t)
+(declare-function LaTeX-bibitem-list "ext:tex" () t)
+(declare-function LaTeX-index-entry-list "ext:tex" () t)
+(declare-function LaTeX-label-list "ext:tex" () t)
+
 (defun reftex-plug-flag (which)
   ;; Tell if a certain flag is set in reftex-plug-into-AUCTeX
   (or (eq t reftex-plug-into-AUCTeX)
--- a/lisp/textmodes/reftex-index.el	Fri Nov 30 08:06:25 2007 +0000
+++ b/lisp/textmodes/reftex-index.el	Fri Nov 30 08:12:58 2007 +0000
@@ -39,6 +39,9 @@
 (defvar transient-mark-mode)
 (defvar TeX-master)
 ;; END remove for XEmacs release
+
+(declare-function texmathp "ext:texmathp" ())
+
 (defun reftex-index-selection-or-word (&optional arg phrase)
   "Put selection or the word near point into the default index macro.
 This uses the information in `reftex-index-default-macro' to make an index