diff options
| author | Eric Abrahamsen | 2020-11-11 10:48:37 -0800 |
|---|---|---|
| committer | Eric Abrahamsen | 2020-11-13 17:25:46 -0800 |
| commit | 31f94e4b1c3dc201646ec436d3e2c477f784ed21 (patch) | |
| tree | 9de242880133cc8dd3758fb405e0c49191c787a1 /src | |
| parent | bb28f8b9d1ebb4a93c66beca466cb15563075e8c (diff) | |
| download | emacs-31f94e4b1c3dc201646ec436d3e2c477f784ed21.tar.gz emacs-31f94e4b1c3dc201646ec436d3e2c477f784ed21.zip | |
Save instantiated gnus-search engines in an alist
So we aren't re-instantiating (and potentially configuring) them with
every search.
* lisp/gnus/gnus-search.el (gnus-search-engine-instance-alist): New
variable holding server->engine mapping.
(gnus-search-server-to-engine): See if we've already instantiated this
server. If so, return it. If not, instantiate it and save in the above
variable.
(gnus-search-shutdown): Shutdown function clearing the above alist.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions