1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/erc
F. Jason Park 61b22ae9f3 Sequester some special-variable declarations in ERC
* lisp/erc/erc-backend.el (erc-log-p): Remove declaration entirely.
(erc-server-reconnect): Move declaration for `erc-reuse-buffers' here.
(erc-process-sentinel-1): Move `erc-kill-server-buffer-on-quit'
declaration here.
(erc--conceal-prompt): Move `erc-prompt-hidden' declaration here.
(erc-server-INVITE): Move `erc-invitation' declaration here.
(erc-server-PART): Move `erc-kill-buffer-on-part' declaration here.
(erc-server-PRIVMSG): Move declarations for `erc-minibuffer-ignored',
`erc-receive-query-display', `erc-receive-query-display-defer',
`erc--cmem-from-nick-function', `erc-format-nick-function', and
`erc-format-query-as-channel-p' here.
(erc-server-401): Move `erc-whowas-on-nosuchnick' declaration here.
(erc-server-475): Move `erc--called-as-input-p' and
`erc-prompt-for-channel-key' declarations here.
* lisp/erc/erc-common.el (erc-log-p): Remove declaration for
`erc-log-p' and replace with actual definition.
(erc-log-aux): Move `erc-dbuf' declaration from top level into
function body.
* lisp/erc/erc-fill.el (erc-fill--wrap-continued-message-p): Note in
the doc string that this function produces side effects.
* lisp/erc/erc-networks.el (erc-determine-network,
erc-networks--copy-server-buffer-functions): Move some variable
declarations to function body.
(erc-settings, erc-get): Deprecate for now and explain why in doc
strings.  We could deprecate them unconditionally, but they never
provided usable code, and their names are short and valuable.
* lisp/erc/erc.el (tabbar--local-hlf, motif-version-string,
gtk-version-string): Prefer moving these single-serving declarations
to function bodies, if only to make closures from this library less
cluttered when debugging.  This should also help avoid stray
declarations.
(erc-hooks, erc-timer-hook): Revise doc strings.
(erc-log-p): Move definition to erc-common.el.
(erc-cmd-SV): Mimic `emacs-version' and stick with `featurep', here in
combination with special-variable declarations, instead of `boundp' or
similar.
(erc-header-line-uses-tabbar-p): Explain that this has nothing to do
with `tab-bar'.
(erc-update-mode-line-buffer): Only assign when bound.  This has been
verified to work with version 2.0 on EmacsWiki.
* test/lisp/erc/erc-scenarios-base-reconnect.el: Timeouts.
* test/lisp/erc/erc-scenarios-base-renick.el: Timeouts.
* test/lisp/erc/resources/join/network-id/foonet-again.eld: Timeouts.
2023-12-17 20:17:54 -08:00
..
ChangeLog.1
ChangeLog.2
erc-autoaway.el
erc-backend.el Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00
erc-button.el ; Prepare for ERC 5.6 release 2023-11-12 20:37:49 -08:00
erc-capab.el
erc-common.el Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00
erc-compat.el Optionally allow substitution patterns in erc-prompt 2023-11-24 13:38:52 -08:00
erc-dcc.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-desktop-notifications.el
erc-ezbounce.el
erc-fill.el Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00
erc-goodies.el ; Prepare for ERC 5.6 release 2023-11-12 20:37:49 -08:00
erc-ibuffer.el Fix wrong "User" column count in erc-ibuffer 2023-10-02 17:23:29 -07:00
erc-identd.el
erc-imenu.el
erc-join.el Allow custom display-buffer actions in ERC 2023-07-13 18:45:31 -07:00
erc-lang.el
erc-list.el
erc-log.el Rename erc-server-buffer-p 2023-10-20 15:22:56 -07:00
erc-match.el Revive erc-command-indicator as new module 2023-11-12 20:37:49 -08:00
erc-menu.el
erc-netsplit.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-networks.el Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00
erc-nicks.el ; Prepare for ERC 5.6 release 2023-11-12 20:37:49 -08:00
erc-notify.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-page.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-pcomplete.el
erc-replace.el
erc-ring.el
erc-sasl.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-services.el Merge from origin/emacs-29 2023-12-09 07:25:21 -05:00
erc-sound.el Define ERC message-formatting templates with defvar 2023-12-17 20:17:54 -08:00
erc-speedbar.el Fix speedbar help-echo in erc-nickbar-mode 2023-11-24 13:38:52 -08:00
erc-spelling.el
erc-stamp.el Use overlay instead of text prop to hide ERC's prompt 2023-11-24 13:38:52 -08:00
erc-status-sidebar.el ; Fix typos 2023-12-10 13:22:04 +01:00
erc-track.el Ignore date stamps completely in erc-track 2023-10-27 13:08:44 -07:00
erc-truncate.el Manage some text props for ERC insertion-hook members 2023-10-13 07:47:01 -07:00
erc-xdcc.el
erc.el Sequester some special-variable declarations in ERC 2023-12-17 20:17:54 -08:00