]> code.delx.au - gnu-emacs/commitdiff
Function declaration updates prompted by 'make check-declare'
authorGlenn Morris <rgm@gnu.org>
Fri, 1 May 2015 00:06:15 +0000 (20:06 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 1 May 2015 00:06:15 +0000 (20:06 -0400)
* lisp/emacs-lisp/package.el (lm-homepage):
* lisp/gnus/gnus-util.el (iswitchb-read-buffer):
* lisp/gnus/mm-decode.el (libxml-parse-html-region):
* lisp/gnus/mml.el (libxml-parse-html-region):
* lisp/gnus/nnrss.el (libxml-parse-html-region):
* lisp/net/eww.el (libxml-parse-html-region):
* lisp/net/shr.el (libxml-parse-html-region):
* lisp/vc/vc-bzr.el (vc-annotate-convert-time):
* lisp/vc/vc-cvs.el (vc-annotate-convert-time):
* lisp/vc/vc-git.el (vc-annotate-convert-time):
* lisp/vc/vc-hg.el (vc-annotate-convert-time):
* lisp/vc/vc-mtn.el (vc-annotate-convert-time):
* lisp/vc/vc-rcs.el (vc-annotate-convert-time):
Update declaration.

13 files changed:
lisp/emacs-lisp/package.el
lisp/gnus/gnus-util.el
lisp/gnus/mm-decode.el
lisp/gnus/mml.el
lisp/gnus/nnrss.el
lisp/net/eww.el
lisp/net/shr.el
lisp/vc/vc-bzr.el
lisp/vc/vc-cvs.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc-mtn.el
lisp/vc/vc-rcs.el

index db61ababd6dd5e094f7365ff29eae953f4eafef7..c2c0f34d1ae7d01d18edbe578523b06976e0a802 100644 (file)
@@ -956,7 +956,7 @@ is wrapped around any parts requiring it."
               deps))))
 
 (declare-function lm-header "lisp-mnt" (header))
-(declare-function lm-homepage "lisp-mnt" ())
+(declare-function lm-homepage "lisp-mnt" (&optional file))
 
 (defun package-buffer-info ()
   "Return a `package-desc' describing the package in the current buffer.
index 7bacaba286df1d542e96a54f1980432c42f0bf3a..4b06cc00416cd7f6d657c9ebd2310de7e09f0578 100644 (file)
@@ -1575,7 +1575,8 @@ SPEC is a predicate specifier that contains stuff like `or', `and',
 
 
 (declare-function iswitchb-read-buffer "iswitchb"
-                 (prompt &optional default require-match start matches-set))
+                 (prompt &optional default require-match
+                         _predicate start matches-set))
 (defvar iswitchb-temp-buflist)
 
 (defun gnus-iswitchb-completing-read (prompt collection &optional require-match
index ae6bb71dfc701a726d9f4fe94419a035f32b9c7d..bce9abdcc8defc0bcd3a815b1f19392b5a3bab5d 100644 (file)
@@ -1827,7 +1827,7 @@ If RECURSIVE, search recursively."
              (not (mm-long-lines-p 76))))))
 
 (declare-function libxml-parse-html-region "xml.c"
-                 (start end &optional base-url))
+                 (start end &optional base-url discard-comments))
 (declare-function shr-insert-document "shr" (dom))
 (defvar shr-blocked-images)
 (defvar shr-use-fonts)
index 2a3b228097ae68b7e023d914162969dc00aea76e..575447585975d41e7a3cdfbdca161e953d6944bf 100644 (file)
@@ -463,7 +463,7 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
 (defvar mml-inhibit-compute-boundary nil)
 
 (declare-function libxml-parse-html-region "xml.c"
-                 (start end &optional base-url))
+                 (start end &optional base-url discard-comments))
 
 (defun mml-generate-mime (&optional multipart-type)
   "Generate a MIME message based on the current MML document.
index ac9c5ffab2cd1a15fa1b7b16397ef4a4a05a58d3..1546f922e7a303761be76ba5bb1799c36181234b 100644 (file)
@@ -395,7 +395,7 @@ otherwise return nil."
     (mm-coding-system-p 'utf-8)))
 
 (declare-function libxml-parse-html-region "xml.c"
-                 (start end &optional base-url))
+                 (start end &optional base-url discard-comments))
 (defun nnrss-fetch (url &optional local)
   "Fetch URL and put it in a the expected Lisp structure."
   (mm-with-unibyte-buffer
index a128ffb9d065731b65f2e7c1c50f151ff3631d51..f2f5ecb8e88b8bf4d9560d444a502c5b9cc84d43 100644 (file)
@@ -379,7 +379,7 @@ Currently this means either text/html or application/xhtml+xml."
             (match-string 1)))))
 
 (declare-function libxml-parse-html-region "xml.c"
-                 (start end &optional base-url))
+                 (start end &optional base-url discard-comments))
 
 (defun eww-display-html (charset url &optional document point buffer encode)
   (unless (fboundp 'libxml-parse-html-region)
index 454332e55d0f9e679cae4302eb6bdadadff62515..7763507734f8ce265462afe8d0336aec8361ce0b 100644 (file)
@@ -178,7 +178,7 @@ cid: URL as the argument.")
 
 ;; Public functions and commands.
 (declare-function libxml-parse-html-region "xml.c"
-                 (start end &optional base-url))
+                 (start end &optional base-url discard-comments))
 
 (defun shr-render-buffer (buffer)
   "Display the HTML rendering of the current buffer."
index 9c52106fdb503cc1f1f2c3ddddc3fb3d6419b4cb..a1f6bab5fd4f493c5b7ed6e9608fb68c6341c1f1 100644 (file)
@@ -873,7 +873,7 @@ property containing author and date information."
                (move-marker (process-mark proc) (point))))
            (process-put proc :vc-left-over string)))))))
 
-(declare-function vc-annotate-convert-time "vc-annotate" (time))
+(declare-function vc-annotate-convert-time "vc-annotate" (&optional time))
 
 (defun vc-bzr-annotate-time ()
   (when (re-search-forward "^ *[0-9.]+ +.+? +|" nil t)
index 232dcc2185e718b9f18c5900d0db235515f50f7e..9a41905abd2decf7b3e002b54a94620e097a6230 100644 (file)
@@ -651,7 +651,7 @@ Optional arg REVISION is a revision to annotate from."
         (re-search-forward vc-cvs-annotate-first-line-re)
         (delete-region (point-min) (1- (point)))))))
 
-(declare-function vc-annotate-convert-time "vc-annotate" (time))
+(declare-function vc-annotate-convert-time "vc-annotate" (&optional time))
 
 (defun vc-cvs-annotate-current-time ()
   "Return the current time, based at midnight of the current day, and
index c8b696a03bbb4a307d1a3e5c1a16256f31d84a4c..2bca723ce77afbbc9f611415555e598002bf86e1 100644 (file)
@@ -1035,7 +1035,7 @@ or BRANCH^ (where \"^\" can be repeated)."
           (append (vc-switches 'git 'annotate)
                   (list rev "--" name)))))
 
-(declare-function vc-annotate-convert-time "vc-annotate" (time))
+(declare-function vc-annotate-convert-time "vc-annotate" (&optional time))
 
 (defun vc-git-annotate-time ()
   (and (re-search-forward "[0-9a-f]+[^()]+(.* \\([0-9]+\\)-\\([0-9]+\\)-\\([0-9]+\\) \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) \\([-+0-9]+\\) +[0-9]+) " nil t)
index c841dfcdf54c00e73a93e63dc4052e88a182d7e7..c302436d83b89f2c3bfe15bb16107921cb6f7cdc 100644 (file)
@@ -373,7 +373,7 @@ Optional arg REVISION is a revision to annotate from."
         (append (vc-switches 'hg 'annotate)
                  (if revision (list (concat "-r" revision))))))
 
-(declare-function vc-annotate-convert-time "vc-annotate" (time))
+(declare-function vc-annotate-convert-time "vc-annotate" (&optional time))
 
 ;; The format for one line output by "hg annotate -d -n" looks like this:
 ;;215 Wed Jun 20 21:22:58 2007 -0700: CONTENTS
index cd84ebe7afa5cae0854d1a2cbb0fc87b6ea65db1..93bd1f6a83ffef2b6cdd9a92ed913bfb1f7aad4c 100644 (file)
@@ -261,7 +261,7 @@ If LIMIT is non-nil, show no more than this many entries."
         (append (vc-switches 'mtn 'annotate)
                 (if rev (list "-r" rev)))))
 
-(declare-function vc-annotate-convert-time "vc-annotate" (time))
+(declare-function vc-annotate-convert-time "vc-annotate" (&optional time))
 
 (defconst vc-mtn-annotate-full-re
   "^ *\\([0-9a-f]+\\)\\.* by [^ ]+ \\([0-9]+\\)-\\([0-9]+\\)-\\([0-9]+\\): ")
index 8aedc00269dbdf6bcc0137a8d1297bd71f31d794..1e1990890a291ddeb70c2040be3ad095cb842fb7 100644 (file)
@@ -758,7 +758,7 @@ Optional arg REVISION is a revision to annotate from."
       (insert (gethash (get-text-property (point) :vc-rcs-r/d/a) ht))
       (forward-line 1))))
 
-(declare-function vc-annotate-convert-time "vc-annotate" (time))
+(declare-function vc-annotate-convert-time "vc-annotate" (&optional time))
 
 (defun vc-rcs-annotate-current-time ()
   "Return the current time, based at midnight of the current day, and