diff options
| author | F. Jason Park | 2023-11-13 18:24:59 -0800 |
|---|---|---|
| committer | F. Jason Park | 2023-11-18 12:34:56 -0800 |
| commit | b088222ec9f0cff720ca366bdef448d392731f94 (patch) | |
| tree | 51238af28ee75afb6272f253ceaa560b6f960ad4 /java/org | |
| parent | cc7e008dce1df9d2472338b1fc3cc766166e9e55 (diff) | |
| download | emacs-b088222ec9f0cff720ca366bdef448d392731f94.tar.gz emacs-b088222ec9f0cff720ca366bdef448d392731f94.zip | |
Simplify ISUPPORT-derived data wrangling in ERC
* lisp/erc/erc-backend.el (erc--get-isupport-entry): Check server
buffer for `erc-server-parameters' when (re)initializing value. This
function was previously unreliable from a target buffer on cache
misses.
(erc--with-isupport-data): New macro for accessing and caching data
derived from an ISUPPORT parameter. Late-arriving params break the
cache.
(erc-server-005): Rewrite pattern as `rx' form, factoring out bol/eol.
* lisp/erc/erc-common.el (erc--isupport-data): New struct to be
subclassed for storing cached ISUPPORT-derived data.
* test/lisp/erc/erc-scenarios-display-message.el: Remove stray
`require'. (Bug#67220)
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions