summaryrefslogtreecommitdiff
path: root/lisp/auth-source.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2017-12-20 18:06:28 +0100
committerPhilipp Stephani <phst@google.com>2017-12-20 18:06:28 +0100
commit909bea9e5abafde8cf1d7244503640796fbfc142 (patch)
treebea0ceb73dd832d38ddc9c252547e272a8094bc0 /lisp/auth-source.el
parent675a4e13cf14ff5bff61d06454269983844a8f91 (diff)
downloademacs-909bea9e5abafde8cf1d7244503640796fbfc142.tar.gz
emacs-909bea9e5abafde8cf1d7244503640796fbfc142.tar.bz2
emacs-909bea9e5abafde8cf1d7244503640796fbfc142.zip
Fix a few compiler warnings in auth-source.el
* lisp/auth-source.el (json): Add missing require. (auth-source-json-search): Remove unused argument.
Diffstat (limited to 'lisp/auth-source.el')
-rw-r--r--lisp/auth-source.el3
1 files changed, 2 insertions, 1 deletions
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.