summaryrefslogtreecommitdiff
path: root/lisp/files-x.el
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2021-08-17 01:50:29 -0700
committerF. Jason Park <jp@neverwas.me>2022-06-30 15:03:26 -0700
commit485b84cb7c4c61b434273fc25be0a25b84fca31d (patch)
tree71c916d657a053759f1fcf2433c648b4ea8d3e79 /lisp/files-x.el
parentde53d18a4d81e8b49d1dfecaf5481382a0ad8d08 (diff)
downloademacs-485b84cb7c4c61b434273fc25be0a25b84fca31d.tar.gz
emacs-485b84cb7c4c61b434273fc25be0a25b84fca31d.tar.bz2
emacs-485b84cb7c4c61b434273fc25be0a25b84fca31d.zip
Require erc-networks in erc.el
* lisp/erc/erc.el: Require erc-networks.el, which ERC can't run without these days. To sidestep the circular dependency, require it last, just after erc-goodies. Remove the `declare-function' for `erc-network-name' because it's not currently needed at load time. (erc-log-irc-protocol, erc-hide-current-message-p): Remove `fboundp' guard logic from `erc-network-name' invocations but preserve meaning by interpreting `erc-network' being unset to mean module isn't loaded or authoritative network detection has failed. (erc-format-network): Likewise here. At the moment, this function always returns the empty string because the function `erc-network-name' always returns non-nil, perhaps from the fallback/failure sentinel "Unknown", perhaps from the printed form of nil. * lisp/erc/erc-networks.el (erc-network): This is called throughout erc.el but was previously cumbersome to use on account of being guarded by `fboundp'. It now relies on the fact that its namesake variable is set in target buffers as well.
Diffstat (limited to 'lisp/files-x.el')
0 files changed, 0 insertions, 0 deletions