* 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).
This commit is contained in:
Amin Bandali 2021-09-18 12:53:59 -04:00
parent 8865fc02ab
commit 1100fffcd3
No known key found for this signature in database
GPG key ID: 8B44A0CDC7B956F2

View file

@ -58,7 +58,7 @@
;;; Code:
(load "erc-loaddefs" nil t)
(load "erc-loaddefs" 'noerror 'nomessage)
(require 'cl-lib)
(require 'format-spec)