diff options
| author | F. Jason Park | 2025-07-20 18:56:03 -0700 |
|---|---|---|
| committer | F. Jason Park | 2025-07-27 19:57:28 -0700 |
| commit | 00a3ec9d53c6dbe00c48678f68a510b70e859d89 (patch) | |
| tree | 4ec1d067ee935c10071b1628c751e98ceccbdc15 /src/bytecode.c | |
| parent | db8f469bd403dc837333e0f06b9c9431a68d65c4 (diff) | |
| download | emacs-00a3ec9d53c6dbe00c48678f68a510b70e859d89.tar.gz emacs-00a3ec9d53c6dbe00c48678f68a510b70e859d89.zip | |
Use function-valued variable for ERC query predicate
* lisp/erc/erc-notify.el (erc-querypoll-mode, erc-querypoll-enable)
(erc-querypoll-disable): Override `erc-query-table-synced-predicate'
when mode is active.
(erc--queries-current-p): Remove method.
(erc--querypoll-active-p): New function.
* lisp/erc/erc-speedbar.el (erc-speedbar-buttons)
(erc-speedbar-insert-target): Call function-valued variable
`erc--query-table-synced-predicate' instead of its now default value
`erc--queries-current-p' directly.
* lisp/erc/erc.el (erc--query-table-synced-predicate): New variable.
(erc--queries-current-p, erc--query-participant-present-p): Convert
former from method to normal function and rename to latter. Original
was added as part of bug#70928.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions