]> git.eshelyaron.com Git - emacs.git/commitdiff
Address some check-declare warnings.
authorGlenn Morris <rgm@gnu.org>
Wed, 17 Jun 2015 00:33:48 +0000 (20:33 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 17 Jun 2015 00:33:48 +0000 (20:33 -0400)
* lisp/simple.el (tabulated-list-print):
* lisp/progmodes/elisp-mode.el (xref-collect-matches):
* lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
(ns-get-selection): Update declarations.

lisp/progmodes/elisp-mode.el
lisp/simple.el
lisp/term/ns-win.el

index 11c9b16a3c984e497db03093143cb7d7462f8052..76f32decb175d7871eb70fe453dc764811fb2b29 100644 (file)
@@ -582,7 +582,7 @@ It can be quoted, or be inside a quoted form."
 
 (declare-function xref-make-bogus-location "xref" (message))
 (declare-function xref-make "xref" (description location))
-(declare-function xref-collect-matches "xref" (input dir &optional kind))
+(declare-function xref-collect-matches "xref" (symbol dir))
 (declare-function xref-collect-references "xref" (symbol dir))
 
 (defun elisp-xref-find (action id)
index 46023a575f08bf7d5ae1f6698333a75b2a7e4841..48451aacbd6eca8d69968e86031d79a61b2743e9 100644 (file)
@@ -3521,7 +3521,7 @@ support pty association, if PROGRAM is nil."
 (defvar tabulated-list-sort-key)
 (declare-function tabulated-list-init-header  "tabulated-list" ())
 (declare-function tabulated-list-print "tabulated-list"
-                  (&optional remember-pos))
+                  (&optional remember-pos update))
 
 (defvar process-menu-query-only nil)
 
index f603f3e0f6d87be9dca188f9326ae26f08c72905..a21c105fb982fe97154e1557b1c7a67bba806562 100644 (file)
@@ -930,12 +930,9 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
 
 (declare-function ns-own-selection-internal "nsselect.m" (selection value))
 (declare-function ns-disown-selection-internal "nsselect.m" (selection))
-(declare-function ns-selection-owner-p "nsselect.m"
-                  (&optional selection terminal))
-(declare-function ns-selection-exists-p "nsselect.m"
-                  (&optional selection terminal))
-(declare-function ns-get-selection "nsselect.m"
-                  (selection-symbol target-type &optional time-stamp terminal))
+(declare-function ns-selection-owner-p "nsselect.m" (&optional selection))
+(declare-function ns-selection-exists-p "nsselect.m" (&optional selection))
+(declare-function ns-get-selection "nsselect.m" (selection-symbol target-type))
 
 (cl-defmethod gui-backend-set-selection (selection value
                                          &context (window-system (eql ns)))