From: Tino Calancha Date: Fri, 6 Apr 2018 01:05:43 +0000 (+0900) Subject: Require secrets.el iif Emacs has dbusbind support X-Git-Tag: emacs-27.0.90~5319 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79a3ad95923b81e9a12115a6815ab92545233090;p=emacs.git 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. --- 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.