aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2017-12-20 18:06:28 +0100
committerPhilipp Stephani2017-12-20 18:06:28 +0100
commit909bea9e5abafde8cf1d7244503640796fbfc142 (patch)
treebea0ceb73dd832d38ddc9c252547e272a8094bc0
parent675a4e13cf14ff5bff61d06454269983844a8f91 (diff)
downloademacs-909bea9e5abafde8cf1d7244503640796fbfc142.tar.gz
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.
-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 @@
39 39
40;;; Code: 40;;; Code:
41 41
42(require 'json)
42(require 'password-cache) 43(require 'password-cache)
43 44
44(eval-when-compile (require 'cl-lib)) 45(eval-when-compile (require 'cl-lib))
@@ -2015,7 +2016,7 @@ entries for git.gnus.org:
2015 always (plist-get item req))))) 2016 always (plist-get item req)))))
2016 2017
2017(cl-defun auth-source-json-search (&rest spec 2018(cl-defun auth-source-json-search (&rest spec
2018 &key backend require create 2019 &key backend require
2019 type max host user port 2020 type max host user port
2020 &allow-other-keys) 2021 &allow-other-keys)
2021 "Given a property list SPEC, return search matches from the :backend. 2022 "Given a property list SPEC, return search matches from the :backend.