diff options
author | Noam Postavsky <npostavs@gmail.com> | 2019-07-24 20:33:18 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2019-07-25 18:36:03 -0400 |
commit | b3e20737d83acbbbec372645e2a951293d84bd29 (patch) | |
tree | 4db4e10154ddaf0e736275485f5ca9c5b5dfa1bd /lisp/avoid.el | |
parent | f67195028467e26348cab3a6cdc97034cd93f897 (diff) | |
download | emacs-b3e20737d83acbbbec372645e2a951293d84bd29.tar.gz emacs-b3e20737d83acbbbec372645e2a951293d84bd29.tar.bz2 emacs-b3e20737d83acbbbec372645e2a951293d84bd29.zip |
Fix subproc listening when setting filter to non-t (Bug#36591)
* src/process.c (Fset_process_filter): Call add_process_read_fd
according to the state of process filter before it's updated. This
restores the correct functioning as it was before 2016-02-16 "Allow
setting the filter masks later". Inline the set_process_filter_masks
call instead of fixing it that function, because it is also called
from connect_network_socket, and we don't want to change the behavior
of that function so close to release.
* test/src/process-tests.el (set-process-filter-t): New test.
Diffstat (limited to 'lisp/avoid.el')
0 files changed, 0 insertions, 0 deletions