From: Philipp Stephani Date: Wed, 20 Dec 2017 17:06:28 +0000 (+0100) Subject: Fix a few compiler warnings in auth-source.el X-Git-Tag: emacs-27.0.90~5997 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=909bea9e5abafde8cf1d7244503640796fbfc142;p=emacs.git Fix a few compiler warnings in auth-source.el * lisp/auth-source.el (json): Add missing require. (auth-source-json-search): Remove unused argument. --- diff --git a/lisp/auth-source.el b/lisp/auth-source.el index e6582fa796a..25a35c86bd2 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el @@ -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.