From cc54616e6cba612f6376b152870715aeba5f32c0 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 23 Mar 2016 10:32:22 +0000 Subject: [PATCH] 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. --- dot/ercrc.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 @@ 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 @@ Evaluation order for the keywords is a bit screwy: don't rely on it." (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 @@ Evaluation order for the keywords is a bit screwy: don't rely on it." (let ((acct (cadr a)) (passwd (caddr a))) (erc-server-send (concat "OPER " acct " " passwd)))))) + +(load "~/.erc-auth.el") +(load "~/.erc-local.el") -- 2.11.0