]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/erc/erc.el: Don't error if 'erc-loaddefs' does not exist.
authorAmin Bandali <bandali@gnu.org>
Sat, 18 Sep 2021 16:53:59 +0000 (12:53 -0400)
committerAmin Bandali <bandali@gnu.org>
Thu, 7 Oct 2021 03:14:25 +0000 (23:14 -0400)
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

index c34763846598221cbfaa95e9db1d9de3adab34bc..3462aa4db0e5a031ee362959650c835ba524e9c9 100644 (file)
@@ -58,7 +58,7 @@
 
 ;;; Code:
 
-(load "erc-loaddefs" nil t)
+(load "erc-loaddefs" 'noerror 'nomessage)
 
 (require 'cl-lib)
 (require 'format-spec)