diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-09-06 02:05:18 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-09-06 02:05:18 +0200 |
commit | 6a19f2a024b4cede80e2896318696008d1dd1b21 (patch) | |
tree | 4295e750c4151f90522de8a6c89a7fcf94c79980 /lisp/vc/vc-git.el | |
parent | b648634982bb52be2b21e92d4aeb837621b5ec63 (diff) | |
download | emacs-6a19f2a024b4cede80e2896318696008d1dd1b21.tar.gz emacs-6a19f2a024b4cede80e2896318696008d1dd1b21.tar.bz2 emacs-6a19f2a024b4cede80e2896318696008d1dd1b21.zip |
Add new --timeout flag to emacsclient
* lib-src/emacsclient.c (DEFAULT_TIMEOUT): New constant.
(timeout): New static variable.
(longopts, shortopts, decode_options, print_help_and_exit): Add new
flag --timeout.
(set_socket_timeout, check_socket_timeout): New helper functions.
(main): Display a status message or exit after Emacs has not responded
for a while, depending on above new --timeout flag. (Bug#50849)
* doc/emacs/misc.texi (emacsclient Options):
* doc/man/emacsclient.1: Document the above new option.
* etc/NEWS: Announce it.
Diffstat (limited to 'lisp/vc/vc-git.el')
0 files changed, 0 insertions, 0 deletions