diff options
author | Jim Blandy <jimb@redhat.com> | 1992-08-29 02:58:59 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-08-29 02:58:59 +0000 |
commit | edc8ae07a5954f019527a10bbf28338976233058 (patch) | |
tree | 3d5db5184781c1237c28aed6231d095af8fc01e8 /src/emacs.c | |
parent | 648fa17da60726950f3b318c4d55643ed44d54c8 (diff) | |
download | emacs-edc8ae07a5954f019527a10bbf28338976233058.tar.gz emacs-edc8ae07a5954f019527a10bbf28338976233058.tar.bz2 emacs-edc8ae07a5954f019527a10bbf28338976233058.zip |
* emacs.c: Incude "systty.h", not "systerm.h".
* emacs.c (Fkill_emacs): Doc fix.
(syms_of_emacs): Doc fix for Vkill_emacs_hook.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/emacs.c b/src/emacs.c index 38e560194d5..5b2f61674c6 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -48,7 +48,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "lisp.h" #include "commands.h" -#include "systerm.h" +#include "systty.h" #ifndef O_RDWR #define O_RDWR 2 @@ -558,7 +558,7 @@ main (argc, argv, envp) } DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P", - "Exit the Emacs job and kill it. Ask for confirmation, without argument.\n\ + "Exit the Emacs job and kill it.\n\ If ARG is an integer, return ARG as the exit program code.\n\ If ARG is a string, stuff it as keyboard input.\n\n\ The value of `kill-emacs-hook', if not void,\n\ @@ -768,8 +768,10 @@ syms_of_emacs () DEFVAR_BOOL ("noninteractive", &noninteractive1, "Non-nil means Emacs is running without interactive terminal."); - Vkill_emacs_hook = Qnil; - DEFVAR_LISP ("kill-emacs-hook", &Vkill_emacs_hook, - "Hook to be run whenever kill-emacs is called."); + "Hook to be run whenever kill-emacs is called.\n\ +Since kill-emacs may be invoked when the terminal is disconnected (or\n\ +in other similar situations), functions placed on this hook should not\n\ +not expect to be able to interact with the user."); + Vkill_emacs_hook = Qnil; } |