Mercurial > emacs
changeset 86987:7bd1703d4880
(byte-compile-declare-function): Reverse branches of if statement.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 02 Dec 2007 21:41:33 +0000 |
parents | a66a6a9bd1aa |
children | 780b92f70642 |
files | lisp/emacs-lisp/bytecomp.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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)