]> git.eshelyaron.com Git - emacs.git/commitdiff
Declaration fixes.
authorGlenn Morris <rgm@gnu.org>
Thu, 5 May 2011 06:35:41 +0000 (23:35 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 5 May 2011 06:35:41 +0000 (23:35 -0700)
* lisp/net/network-stream.el (gnutls-negotiate): Fix declaration.

* lisp/simple.el (tabulated-list-print): Fix declaration.

* lisp/progmodes/gud.el (syntax-symbol, syntax-point):
Remove unnecessary and incorrect declarations.

lisp/ChangeLog
lisp/net/network-stream.el
lisp/progmodes/gud.el
lisp/simple.el

index 5d40325c952f005861ce03fa8663fe085a4836b2..7e13237ccf69e625df8eb8310832c2ddd90475d0 100644 (file)
@@ -1,5 +1,11 @@
 2011-05-05  Glenn Morris  <rgm@gnu.org>
 
+       * net/network-stream.el (gnutls-negotiate):
+       * simple.el (tabulated-list-print): Fix declarations.
+
+       * progmodes/gud.el (syntax-symbol, syntax-point):
+       Remove unnecessary and incorrect declarations.
+
        * emacs-lisp/check-declare.el (check-declare-scan):
        Handle byte-compile-initial-macro-environment in bytecomp.el
 
index f3cfd7d058f2a722c6e6b586096ca0dc745b9455..61e4630906dd8d134c9dda5b91ccabfd0d4bc68c 100644 (file)
@@ -45,7 +45,7 @@
 (require 'tls)
 (require 'starttls)
 
-(declare-function gnutls-negotiate "gnutls" (&rest spec))
+(declare-function gnutls-negotiate "gnutls" t t) ; defun*
 
 ;;;###autoload
 (defun open-network-stream (name buffer host service &rest parameters)
index 74bdc980e8b32d5f98de04cd85e143c591753c12..f45273026b4d992d507826d9cdf5231098c4ffe9 100644 (file)
@@ -3042,8 +3042,6 @@ Link exprs of the form:
 
 (declare-function c-langelem-sym "cc-defs" (langelem))
 (declare-function c-langelem-pos "cc-defs" (langelem))
-(declare-function syntax-symbol  "gud"     (x))
-(declare-function syntax-point   "gud"     (x))
 
 (defun gud-find-class (f _line)
   "Find fully qualified class in file F at line LINE.
index 9fd221819c5e9aff0663da29378e4005bf12aa08..dba0453ad07b11c83c448a1ca86577ce3153e11a 100644 (file)
@@ -2707,7 +2707,8 @@ support pty association, if PROGRAM is nil."
 (defvar tabulated-list-entries)
 (defvar tabulated-list-sort-key)
 (declare-function tabulated-list-init-header  "tabulated-list" ())
-(declare-function tabulated-list-print "tabulated-list" ())
+(declare-function tabulated-list-print "tabulated-list"
+                  (&optional remember-pos))
 
 (defvar process-menu-query-only nil)