aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2022-05-28 12:02:15 -0400
committerStefan Monnier2022-05-28 12:02:15 -0400
commit2301f13a677aa4ea05bfa2372bdc66c458c0ff38 (patch)
tree82e30db37ca9ad9300db523ab65c8bf17f9dad46 /test
parentf65536015b143571b81f8eb1f064d73014a86fec (diff)
downloademacs-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')
0 files changed, 0 insertions, 0 deletions