diff options
| author | Stefan Monnier | 2022-05-28 12:02:15 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2022-05-28 12:02:15 -0400 |
| commit | 2301f13a677aa4ea05bfa2372bdc66c458c0ff38 (patch) | |
| tree | 82e30db37ca9ad9300db523ab65c8bf17f9dad46 /test/lisp/progmodes/python-tests.el | |
| parent | f65536015b143571b81f8eb1f064d73014a86fec (diff) | |
| download | emacs-2301f13a677aa4ea05bfa2372bdc66c458c0ff38.tar.gz emacs-2301f13a677aa4ea05bfa2372bdc66c458c0ff38.zip | |
with-connection-local-variables: Avoid code duplication
Move the bulk of the code of `with-connection-local-variables` into
a separate function, which both avoids duplicating that code but also
avoids duplicating the code passed as the body of
a `with-connection-local-variables`. Also makes it easier to
debug the code, or change the implementation of
`with-connection-local-variables` without having to recompile all
the users.
* lisp/files-x.el (with-connection-local-variables-1): New function,
extracted from `with-connection-local-variables`.
(with-connection-local-variables): Use it.
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
0 files changed, 0 insertions, 0 deletions