Variable: erc-startup-file-list
erc-startup-file-list is a customizable variable defined in erc.el.gz.
Value
("~/.emacs.d/.ercrc.el" "~/.emacs.d/.ercrc" "~/.ercrc.el" "~/.ercrc" ".ercrc.el" ".ercrc")
Documentation
List of files to try for a startup script.
The first existent and readable one will get executed.
If the filename ends with .el it is presumed to be an Emacs Lisp
script and it gets (load)ed. Otherwise it is treated as a bunch of
regular IRC commands.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; Script parameters
(defcustom erc-startup-file-list
(list (locate-user-emacs-file ".ercrc.el")
(locate-user-emacs-file ".ercrc")
"~/.ercrc.el" "~/.ercrc" ".ercrc.el" ".ercrc")
"List of files to try for a startup script.
The first existent and readable one will get executed.
If the filename ends with `.el' it is presumed to be an Emacs Lisp
script and it gets (load)ed. Otherwise it is treated as a bunch of
regular IRC commands."
:group 'erc-scripts
:type '(repeat file))