1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-11 00:30:17 -08:00
emacs/lisp/erc
F. Jason Park 183e749270 Don't preserve non-module minor modes in erc-open
* lisp/erc/erc-common.el (define-erc-module): Add symbol property
`erc-module' to minor modes defined as part of a module.
* lisp/erc/erc.el (erc--merge-local-modes): Be more conservative when
persisting local minor-mode state across ERC sessions.  User and
third-party modes that were not defined via `define-erc-modules'
should be left alone.
(erc-open): Run major-mode hooks and enable minor modes after prompt
has been set up.  This ensures that module-setup code can access a
fully initialized `erc-input-marker'.
* test/lisp/erc/erc-tests.el (erc--merge-local-modes): Add mocks for
`erc-module' symbol property and a test case covering some foreign ERC
mode.
(define-erc-module--global, define-erc-module--local): Expect the
`erc-module' symbol property to be defined for mode symbols and
aliases.  (Bug#60784.)
2023-01-17 06:09:08 -08:00
..
ChangeLog.1 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ChangeLog.2 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-autoaway.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-backend.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-button.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-capab.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-common.el Don't preserve non-module minor modes in erc-open 2023-01-17 06:09:08 -08:00
erc-compat.el ; Avoid plist-get as generalized var in erc-compat 2023-01-17 06:09:08 -08:00
erc-dcc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-desktop-notifications.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-ezbounce.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-fill.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-goodies.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-ibuffer.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-identd.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-imenu.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-join.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-lang.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-list.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-log.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-match.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-menu.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-netsplit.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-networks.el Remove obsolete server buffers on MOTD in erc-track 2023-01-10 06:34:01 -08:00
erc-notify.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-page.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-pcomplete.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-replace.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-ring.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-sasl.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-services.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-sound.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-speedbar.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-spelling.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-stamp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-status-sidebar.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-track.el Remove obsolete server buffers on MOTD in erc-track 2023-01-10 06:34:01 -08:00
erc-truncate.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc-xdcc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc.el Don't preserve non-module minor modes in erc-open 2023-01-17 06:09:08 -08:00