From f29263b302d33bf90d5b07d3d6defa36788c6783 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Fri, 30 Nov 2007 08:12:58 +0000 Subject: [PATCH] * 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. --- lisp/ChangeLog | 12 ++++++++++++ lisp/erc/ChangeLog | 5 +++++ lisp/erc/erc.el | 6 ++++++ lisp/nxml/rng-maint.el | 7 +++++++ lisp/textmodes/reftex-auc.el | 12 ++++++++++++ lisp/textmodes/reftex-index.el | 3 +++ 6 files changed, 45 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 18051ec8b41..40b2fafc42f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,15 @@ +2007-11-30 Dan Nicolaescu + + * 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 * emacs-lisp/byte-run.el (declare-function): Add optional fourth 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 + + * erc.el (open-ssl-stream, open-tls-stream, erc-network-name): + Declare as functions. + 2007-11-29 Giorgos Keramidas (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*. diff --git a/lisp/nxml/rng-maint.el b/lisp/nxml/rng-maint.el index b29601ab22c..b4a28a05e61 100644 --- a/lisp/nxml/rng-maint.el +++ b/lisp/nxml/rng-maint.el @@ -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) diff --git a/lisp/textmodes/reftex-auc.el b/lisp/textmodes/reftex-auc.el index e49c408b6e5..e7d292f48bb 100644 --- a/lisp/textmodes/reftex-auc.el +++ b/lisp/textmodes/reftex-auc.el @@ -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) diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index f430e9bd01a..73bcf6d6a74 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el @@ -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 -- 2.39.2