]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a missing `and'
authorJohn Wiegley <johnw@newartisans.com>
Thu, 30 Nov 2017 00:53:41 +0000 (16:53 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 30 Nov 2017 00:53:41 +0000 (16:53 -0800)
lisp/use-package/use-package.el

index c651316ce3c82965f996bf6351d730ee774037e3..2b8daae009d5c4edf21ce4225e4948ff142f6432 100644 (file)
@@ -830,8 +830,8 @@ If the package is installed, its entry is removed from
 If ALLOW-EMPTY is non-nil, it's OK for ARGS to be an empty list."
   (declare (indent 1))
   (if (if args
-          (listp args) (listp (cdr args))
-          allow-empty)
+          (and (listp args) (listp (cdr args)))
+        allow-empty)
       (if (= (length args) 1)
           (funcall f label (car args))
         (funcall f label args))