1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/erc
F. Jason Park fad2d1e2ac Use global window hook for erc-keep-place-indicator
* lisp/erc/erc-goodies.el
(erc--keep-place-indicator-on-window-buffer-change): Expect a frame
instead of a window argument for the only parameter, which is now
ignored, and exit early when entering a minibuffer.
(erc--keep-place-indicator-setup): Remove function because local
modules don't need a separate setup function.
(erc-keep-place-indicator-mode): Add autoload cookie even though this
is a local module, since this particular one is intended for more
granular, interactive activation.  This is mostly a formality because
it only matters in the unlikely event `erc-modules' is missing all
other modules defined in `erc-goodies'.
(erc-keep-place-indicator-mode, erc-keep-place-indicator-enable,
erc-keep-place-indicator-disable): Move functionality from
`erc--keep-place-indicator-setup' into enable body.  Use global
instead of local members for `erc-keep-place-mode-hook' and
`window-buffer-change-functions'.
(erc--keep-place-indicator-on-global-module): Perform necessary action
in all ERC buffers, not just the current one, where the user has
ostensibly disabled `erc-keep-place-mode'.
* test/lisp/erc/erc-goodies-tests.el
(erc-goodies-tests--assert-kp-indicator-on,
erc-goodies-tests--assert-kp-indicator-off): Change expected hook
membership for dependencies from global to local.
(erc-goodies-tests--keep-place-indicator): Use new helpers from
the `erc-tests-common' library.  (Bug#59943)
2024-01-07 15:11:26 -08:00
..
ChangeLog.1 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ChangeLog.2 ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-autoaway.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-backend.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-button.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-capab.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-common.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-compat.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-dcc.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-desktop-notifications.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-ezbounce.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-fill.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-goodies.el Use global window hook for erc-keep-place-indicator 2024-01-07 15:11:26 -08:00
erc-ibuffer.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-identd.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-imenu.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-join.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-lang.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-list.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-log.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-match.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-menu.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-netsplit.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-networks.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-nicks.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
erc-notify.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-page.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-pcomplete.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-replace.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc-ring.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-sasl.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-services.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-sound.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-speedbar.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-spelling.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-stamp.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-status-sidebar.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-track.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-truncate.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
erc-xdcc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
erc.el ; Make erc--send-input-lines a normal function again 2024-01-07 15:11:26 -08:00