aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorF. Jason Park2023-11-13 18:24:59 -0800
committerF. Jason Park2023-11-18 12:34:56 -0800
commitb088222ec9f0cff720ca366bdef448d392731f94 (patch)
tree51238af28ee75afb6272f253ceaa560b6f960ad4 /test
parentcc7e008dce1df9d2472338b1fc3cc766166e9e55 (diff)
downloademacs-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.el2
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