From 69298f06718304e669a2711d3d7d709cb69f4065 Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Mon, 26 Oct 2015 12:34:15 +0100 Subject: [PATCH] rcirc: bugfix - auth-source may not have been loaded (#1203) - spacemacs/warning does not exist --- layers/+irc/rcirc/funcs.el | 1 + layers/+irc/rcirc/packages.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/layers/+irc/rcirc/funcs.el b/layers/+irc/rcirc/funcs.el index ea5569738c8d..ed41ca262be8 100644 --- a/layers/+irc/rcirc/funcs.el +++ b/layers/+irc/rcirc/funcs.el @@ -17,6 +17,7 @@ "Initialize authinfo. Allow rcirc to read authinfo from ~/.authinfo.gpg via the auth-source API. This doesn't support the chanserv auth method. " + (require 'auth-source) (dolist (p (auth-source-search :port '("nickserv" "bitlbee" "quakenet") :require '(:port :user :secret))) (let ((secret (plist-get p :secret)) diff --git a/layers/+irc/rcirc/packages.el b/layers/+irc/rcirc/packages.el index e9ff8770275b..46127162efaf 100644 --- a/layers/+irc/rcirc/packages.el +++ b/layers/+irc/rcirc/packages.el @@ -33,7 +33,7 @@ (unless arg (if (file-exists-p "~/.authinfo.gpg") (spacemacs//rcirc-authinfo-config) - (spacemacs/warning "Cannot find file ~/.authinfo.gpg"))) + (message "Cannot find file ~/.authinfo.gpg"))) (rcirc arg)) (defun spacemacs//rcirc-with-znc (arg)