From 1100fffcd360867c0116cb5c4d17bab535577c03 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 18 Sep 2021 12:53:59 -0400 Subject: [PATCH] * lisp/erc/erc.el: Don't error if 'erc-loaddefs' does not exist. That autoload file is created as part of the Emacs compilation process, however we would like ERC to be usable if used outside emacs.git (e.g. if installed from GNU ELPA). --- lisp/erc/erc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index c3476384659..3462aa4db0e 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -58,7 +58,7 @@ ;;; Code: -(load "erc-loaddefs" nil t) +(load "erc-loaddefs" 'noerror 'nomessage) (require 'cl-lib) (require 'format-spec) -- 2.39.5