diff options
| -rw-r--r-- | lisp/simple.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 9ed9e2e84d7..fe92a0e367d 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -4106,7 +4106,8 @@ Returns nil if PROCESS has already terminated." | |||
| 4106 | (let ((args (process-contact process t))) | 4106 | (let ((args (process-contact process t))) |
| 4107 | (setq args (plist-put args :name newname)) | 4107 | (setq args (plist-put args :name newname)) |
| 4108 | (setq args (plist-put args :buffer | 4108 | (setq args (plist-put args :buffer |
| 4109 | (if (process-buffer process) (current-buffer)))) | 4109 | (if (process-buffer process) |
| 4110 | (current-buffer)))) | ||
| 4110 | (apply 'make-network-process args)) | 4111 | (apply 'make-network-process args)) |
| 4111 | (apply 'start-process newname | 4112 | (apply 'start-process newname |
| 4112 | (if (process-buffer process) (current-buffer)) | 4113 | (if (process-buffer process) (current-buffer)) |
| @@ -4117,6 +4118,7 @@ Returns nil if PROCESS has already terminated." | |||
| 4117 | new-process (process-inherit-coding-system-flag process)) | 4118 | new-process (process-inherit-coding-system-flag process)) |
| 4118 | (set-process-filter new-process (process-filter process)) | 4119 | (set-process-filter new-process (process-filter process)) |
| 4119 | (set-process-sentinel new-process (process-sentinel process)) | 4120 | (set-process-sentinel new-process (process-sentinel process)) |
| 4121 | (set-process-plist new-process (copy-sequence (process-plist process))) | ||
| 4120 | new-process))) | 4122 | new-process))) |
| 4121 | 4123 | ||
| 4122 | ;; things to maybe add (currently partly covered by `funcall mode'): | 4124 | ;; things to maybe add (currently partly covered by `funcall mode'): |