diff options
| author | Karl Otness | 2018-04-21 23:01:11 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2018-04-22 20:06:50 +0300 |
| commit | d6e2c593180934926fa4cc5b58fdab82b20f5f14 (patch) | |
| tree | fa91f17df79d95916ea2b34d7aadc1d8fd8e5fec /src | |
| parent | 6cf83131e263fd66fb0ae224bf83b1909b66157d (diff) | |
| download | emacs-d6e2c593180934926fa4cc5b58fdab82b20f5f14.tar.gz emacs-d6e2c593180934926fa4cc5b58fdab82b20f5f14.zip | |
Fix pre- and post-command-hook errors in term.el
Before this patch, after the terminal process dies the command
hooks added in term-mode's char mode would produce errors.
This fix removes these hooks when the process dies.
* lisp/term.el (term-handle-exit): Remove pre-command-hook and
post-command-hook because the process is dead. (Bug#31236)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions