aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorF. Jason Park2023-11-13 18:24:59 -0800
committerF. Jason Park2023-11-18 12:34:56 -0800
commite7fa460e1da3847456f03b9f508c6f6e5c09e450 (patch)
treebabdd61caf088c6e6226c7079c266fdd430e060e /java
parentb088222ec9f0cff720ca366bdef448d392731f94 (diff)
downloademacs-e7fa460e1da3847456f03b9f508c6f6e5c09e450.tar.gz
emacs-e7fa460e1da3847456f03b9f508c6f6e5c09e450.zip
Use caching variant of erc-parse-prefix internally
* lisp/erc/erc-common.el (erc--parsed-prefix): New struct to help with tasks that depends on the advertised "PREFIX" parameter. * lisp/erc/erc.el (erc-parse-prefix): Rework slightly for readability. (erc--parsed-prefix): New variable and function of the same name for caching the reversed result of `erc-parse-prefix' locally per server. (erc-channel-receive-names): Use value stored in `erc--parsed-prefix'. * test/lisp/erc/erc-tests.el (erc-with-server-buffer): Only activate spy around actual test case forms. (erc--parse-prefix): New test. (Bug#67220)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions