1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-03 11:41:41 -07:00
emacs/lisp/erc
F. Jason Park 485b84cb7c 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.
2022-06-30 15:03:26 -07:00
..
ChangeLog.1
ChangeLog.2
erc-autoaway.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-backend.el Allow exemption from flood penalty in erc-backend 2022-06-30 15:03:26 -07:00
erc-button.el Make recent nicknames erc change more backwards-compatible 2022-05-11 15:02:08 +02:00
erc-capab.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-compat.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-dcc.el Recognize DCC SSEND when receiving files in erc-dcc 2022-05-22 18:04:52 -07:00
erc-desktop-notifications.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-ezbounce.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-fill.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-goodies.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-ibuffer.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-identd.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-imenu.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-join.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-lang.el Rename Oriya to Odia, and more 2022-05-19 15:23:46 +03:00
erc-list.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-log.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-match.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-menu.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-netsplit.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-networks.el Require erc-networks in erc.el 2022-06-30 15:03:26 -07:00
erc-notify.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-page.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-pcomplete.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-replace.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-ring.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-services.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-sound.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-speedbar.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-spelling.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-stamp.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-status-sidebar.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-track.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-truncate.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc-xdcc.el ERC: Add new comaintainer, F. Jason Park 2022-01-24 10:59:05 -05:00
erc.el Require erc-networks in erc.el 2022-06-30 15:03:26 -07:00