emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 909bea9: Fix a few compiler warnings in auth-source


From: Philipp Stephani
Subject: [Emacs-diffs] master 909bea9: Fix a few compiler warnings in auth-source.el
Date: Wed, 20 Dec 2017 12:07:13 -0500 (EST)

branch: master
commit 909bea9e5abafde8cf1d7244503640796fbfc142
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Fix a few compiler warnings in auth-source.el
    
    * lisp/auth-source.el (json): Add missing require.
    (auth-source-json-search): Remove unused argument.
---
 lisp/auth-source.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index e6582fa..25a35c8 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]