]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a few compiler warnings in auth-source.el
authorPhilipp Stephani <phst@google.com>
Wed, 20 Dec 2017 17:06:28 +0000 (18:06 +0100)
committerPhilipp Stephani <phst@google.com>
Wed, 20 Dec 2017 17:06:28 +0000 (18:06 +0100)
* lisp/auth-source.el (json): Add missing require.
(auth-source-json-search): Remove unused argument.

lisp/auth-source.el

index e6582fa796a6cd9082c934e22de9d263fb41ef68..25a35c86bd2adbd93f2cc89919b1f0bbb73841eb 100644 (file)
@@ -39,6 +39,7 @@
 
 ;;; Code:
 
+(require 'json)
 (require 'password-cache)
 
 (eval-when-compile (require 'cl-lib))
@@ -2015,7 +2016,7 @@ entries for git.gnus.org:
                  always (plist-get item req)))))
 
 (cl-defun auth-source-json-search (&rest spec
-                                    &key backend require create
+                                    &key backend require
                                     type max host user port
                                     &allow-other-keys)
   "Given a property list SPEC, return search matches from the :backend.