diff options
| author | F. Jason Park | 2023-01-14 19:05:59 -0800 |
|---|---|---|
| committer | F. Jason Park | 2023-04-08 14:23:51 -0700 |
| commit | 0d3ccdbde441a0eed5d80d64aea429bc9a6457a3 (patch) | |
| tree | 1d21e0fa19796fa886668f64832779835b76a930 /java/debug.sh | |
| parent | 2d876a4ca94d7c74339eb18ca98528d017cab2a8 (diff) | |
| download | emacs-0d3ccdbde441a0eed5d80d64aea429bc9a6457a3.tar.gz emacs-0d3ccdbde441a0eed5d80d64aea429bc9a6457a3.zip | |
Don't associate ERC modules with undefined groups
* lisp/erc/erc-capab.el: Add property crutch to help ERC find module's
Custom group.
* lisp/erc/erc-common.el (erc--find-group): Add new function, a helper
for finding an existing ERC module's Custom group based on
`define-erc-module' params. Prefer `group-documentation' as a
sentinel over symbol properties owned by Customize because they might
not be present if the group isn't yet associated with any custom
variables.
(define-erc-module): Set `:group' keyword value more accurately,
falling back to `erc' when no associated group has been defined.
* test/lisp/erc/erc-tests.el (erc--find-group, erc--find-group--real):
New tests.
(define-erc-module--global, define-erc-module--local): Expect the
`:group' keyword to be the unevaluated `erc--find-group'
form. (Bug#60935.)
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions