diff options
| author | Glenn Morris | 2007-12-02 21:41:33 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-12-02 21:41:33 +0000 |
| commit | 7628b337d8365ee63e5373adcd6bb9142894fddc (patch) | |
| tree | f49818030c177dc9184d9fb22b6f54c8c72d446e | |
| parent | e1970249e4ba8e15cc8dd3ef49607da049662f0d (diff) | |
| download | emacs-7628b337d8365ee63e5373adcd6bb9142894fddc.tar.gz emacs-7628b337d8365ee63e5373adcd6bb9142894fddc.zip | |
(byte-compile-declare-function): Reverse branches of if statement.
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 0f7546bc642..e6418a5e331 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -2823,10 +2823,10 @@ If FORM is a lambda or a macro, byte-compile it as a function." | |||
| 2823 | (put 'declare-function 'byte-hunk-handler 'byte-compile-declare-function) | 2823 | (put 'declare-function 'byte-hunk-handler 'byte-compile-declare-function) |
| 2824 | (defun byte-compile-declare-function (form) | 2824 | (defun byte-compile-declare-function (form) |
| 2825 | (push (cons (nth 1 form) | 2825 | (push (cons (nth 1 form) |
| 2826 | (if (or (< (length form) 4) ; arglist not specified | 2826 | (if (and (> (length form) 3) |
| 2827 | (not (listp (nth 3 form)))) | 2827 | (listp (nth 3 form))) |
| 2828 | t | 2828 | (list 'declared (nth 3 form)) |
| 2829 | (list 'declared (nth 3 form)))) | 2829 | t)) ; arglist not specified |
| 2830 | byte-compile-function-environment) | 2830 | byte-compile-function-environment) |
| 2831 | nil) | 2831 | nil) |
| 2832 | 2832 | ||