* 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.
This commit is contained in:
Dan Nicolaescu 2007-11-30 08:12:58 +00:00
parent 361763416f
commit f29263b302
6 changed files with 45 additions and 0 deletions

View file

@ -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

View file

@ -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:

View file

@ -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*.

View file

@ -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)

View file

@ -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)

View file

@ -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