diff --git a/modules/lang/rest/config.el b/modules/lang/rest/config.el index fe3634a64..137702fc5 100644 --- a/modules/lang/rest/config.el +++ b/modules/lang/rest/config.el @@ -14,7 +14,8 @@ "Forces underlying SSL verification to prompt for self-signed or invalid certs, rather than reject them silently." :around #'restclient-http-do - (let (gnutls-verify-error tls-checktrust) + (require 'gnutls) + (let (gnutls-verify-error) (apply fn args))) (map! :map restclient-mode-map