diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 6cf07d35e8a..9ab9dc30a62 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -282,6 +282,9 @@ char _sobuf[BUFSIZ]; | |||
| 282 | #endif | 282 | #endif |
| 283 | #endif | 283 | #endif |
| 284 | 284 | ||
| 285 | /* A signal handler that passes the signal to the Emacs process. | ||
| 286 | Useful for SIGWINCH. */ | ||
| 287 | |||
| 285 | SIGTYPE | 288 | SIGTYPE |
| 286 | pass_signal_to_emacs (int signalnum) | 289 | pass_signal_to_emacs (int signalnum) |
| 287 | { | 290 | { |
| @@ -294,6 +297,8 @@ pass_signal_to_emacs (int signalnum) | |||
| 294 | errno = old_errno; | 297 | errno = old_errno; |
| 295 | } | 298 | } |
| 296 | 299 | ||
| 300 | /* Set up signal handlers before opening a frame on the current tty. */ | ||
| 301 | |||
| 297 | void | 302 | void |
| 298 | init_signals (void) | 303 | init_signals (void) |
| 299 | { | 304 | { |