aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorJim Porter2023-03-11 18:44:43 -0800
committerJim Porter2023-08-21 11:43:24 -0700
commitdc0839de9b3654837ec8f5e66d187319b9eecd6f (patch)
treeb4c56d0453d9ef7eccd5616a36297df48f5921fc /java/org/gnu
parent1375cea157bd3f3d5eed93fa86dc591615774794 (diff)
downloademacs-dc0839de9b3654837ec8f5e66d187319b9eecd6f.tar.gz
emacs-dc0839de9b3654837ec8f5e66d187319b9eecd6f.zip
Use generics to define Eshell output targets
This is more flexible than before, since third-party code can add new output target types without advising these functions. It also resolves an issue where redirecting to a symbol that has a value in its function slot doesn't work. * lisp/eshell/esh-io.el (eshell-virtual-target): New struct. (eshell-get-target, eshell-output-object-to-target): Reimplement via 'cl-defgeneric'. (eshell-close-target): Reimplement via 'cl-defgeneric' and simplify 'process' method.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions