]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/auth-source.el (auth-source-backends-parser-file): Fix missing stringp.
authorTed Zlatanov <tzz@lifelogs.com>
Wed, 20 Dec 2017 01:01:08 +0000 (20:01 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Wed, 20 Dec 2017 01:01:11 +0000 (20:01 -0500)
lisp/auth-source.el

index 152c5af59ae714fcd6a6361f0a9dcea8c749980b..e6582fa796a6cd9082c934e22de9d263fb41ef68 100644 (file)
@@ -386,7 +386,8 @@ soon as a function returns non-nil.")
                    (equal (file-name-extension source) "gpg"))
               (file-name-sans-extension source)
             (or source "")))
-         (extension (or (file-name-extension source-without-gpg)
+         (extension (or (and (stringp source-without-gpg)
+                             (file-name-extension source-without-gpg))
                         "")))
     (when (stringp source)
       (cond