# HG changeset patch # User Glenn Morris # Date 1196631693 0 # Node ID 7bd1703d4880d10f1ac2bf1edc4dbb35baa74337 # Parent a66a6a9bd1aa2bb2d50ea2869f1c39ef26f07d71 (byte-compile-declare-function): Reverse branches of if statement. diff -r a66a6a9bd1aa -r 7bd1703d4880 lisp/emacs-lisp/bytecomp.el --- a/lisp/emacs-lisp/bytecomp.el Sun Dec 02 21:24:38 2007 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Sun Dec 02 21:41:33 2007 +0000 @@ -2823,10 +2823,10 @@ (put 'declare-function 'byte-hunk-handler 'byte-compile-declare-function) (defun byte-compile-declare-function (form) (push (cons (nth 1 form) - (if (or (< (length form) 4) ; arglist not specified - (not (listp (nth 3 form)))) - t - (list 'declared (nth 3 form)))) + (if (and (> (length form) 3) + (listp (nth 3 form))) + (list 'declared (nth 3 form)) + t)) ; arglist not specified byte-compile-function-environment) nil)