From: Mark Wooding Date: Wed, 23 Mar 2016 10:32:22 +0000 (+0000) Subject: dot/ercrc.el: Move loading local stuff to the end. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/cc54616e6cba612f6376b152870715aeba5f32c0 dot/ercrc.el: Move loading local stuff to the end. Load `local' after `auth'. I generally expect `auth' to be copied but not modified, and `local' may want to override its settings, e.g., to prevent auto-greeting bots and suchlike. --- diff --git a/dot/ercrc.el b/dot/ercrc.el index cc701e1..3881cc1 100644 --- a/dot/ercrc.el +++ b/dot/ercrc.el @@ -13,8 +13,6 @@ (setq erc-fill-column 76 erc-fill-prefix " " erc-max-buffer-size (* 60 3000)) -(load "~/.erc-local.el") - (setq erc-track-exclude-types '("NICK" "JOIN" "PART")) (setq erc-auto-query 'buffer) @@ -94,7 +92,6 @@ (defun mdw-add-ircop-credentials (server acct passwd) (mdw-pushnew-replace (list server acct passwd) mdw-erc-ircop-alist :test #'string= :key #'car)) -(load "~/.erc-auth.el") (defun mdw-assoc-regexp (regexp alist) "Return the association in ALIST whose car matches REGEXP." @@ -124,3 +121,6 @@ (defun erc-cmd-IRCOP () (let ((acct (cadr a)) (passwd (caddr a))) (erc-server-send (concat "OPER " acct " " passwd)))))) + +(load "~/.erc-auth.el") +(load "~/.erc-local.el")