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 /test | |
| 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 'test')
| -rw-r--r-- | test/lisp/erc/erc-scenarios-display-message.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/lisp/erc/erc-scenarios-display-message.el b/test/lisp/erc/erc-scenarios-display-message.el index 51bdf305ad5..5751a32212d 100644 --- a/test/lisp/erc/erc-scenarios-display-message.el +++ b/test/lisp/erc/erc-scenarios-display-message.el | |||
| @@ -59,6 +59,4 @@ | |||
| 59 | 59 | ||
| 60 | (erc-cmd-QUIT ""))) | 60 | (erc-cmd-QUIT ""))) |
| 61 | 61 | ||
| 62 | (eval-when-compile (require 'erc-join)) | ||
| 63 | |||
| 64 | ;;; erc-scenarios-display-message.el ends here | 62 | ;;; erc-scenarios-display-message.el ends here |