]> git.eshelyaron.com Git - emacs.git/commitdiff
Require secrets.el iif Emacs has dbusbind support
authorTino Calancha <tino.calancha@gmail.com>
Fri, 6 Apr 2018 01:05:43 +0000 (10:05 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 6 Apr 2018 01:08:32 +0000 (10:08 +0900)
* test/lisp/net/secrets-tests.el: Require secrets.el if
and only if, Emacs has been compiled with dbusbind support.

test/lisp/net/secrets-tests.el

index 352a7c362dd4a82a37365ce8ff11d7f786b1afc0..d0c0d6fe24058ca6f86ca811b03c20d2967036bc 100644 (file)
@@ -20,7 +20,7 @@
 ;;; Code:
 
 (require 'ert)
-(require 'secrets)
+(when (featurep 'dbusbind) (require 'secrets))
 (require 'notifications)
 
 ;; We do not want chatty messages.