From 79a3ad95923b81e9a12115a6815ab92545233090 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Fri, 6 Apr 2018 10:05:43 +0900 Subject: [PATCH] Require secrets.el iif Emacs has dbusbind support * 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/net/secrets-tests.el b/test/lisp/net/secrets-tests.el index 352a7c362dd..d0c0d6fe240 100644 --- a/test/lisp/net/secrets-tests.el +++ b/test/lisp/net/secrets-tests.el @@ -20,7 +20,7 @@ ;;; Code: (require 'ert) -(require 'secrets) +(when (featurep 'dbusbind) (require 'secrets)) (require 'notifications) ;; We do not want chatty messages. -- 2.39.2