From d77b70e5578f89e541859203b059cd36c3de6f31 Mon Sep 17 00:00:00 2001 From: Markus Rost Date: Fri, 11 Oct 2002 05:38:53 +0000 Subject: [PATCH] *** empty log message *** --- src/ChangeLog | 7 +++++++ src/emacs.c | 8 +++++--- src/lread.c | 3 ++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 37bbae8866a..b0c1d0b132d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2002-10-11 Markus Rost + + * emacs.c (syms_of_emacs) : Doc fix (not run in + batch mode). + + * lread.c (Fload): Doc fix (load-suffixes). + 2002-10-10 Steven Tamm * macterm.c (syms_of_macterm, mac_get_mouse_btn): Reversed diff --git a/src/emacs.c b/src/emacs.c index 96e33928a51..2bf28d0568c 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2302,11 +2302,13 @@ Emacs is running. */); doc: /* Non-nil means Emacs is running without interactive terminal. */); DEFVAR_LISP ("kill-emacs-hook", &Vkill_emacs_hook, - doc: /* Hook to be run whenever kill-emacs is called. -Since kill-emacs may be invoked when the terminal is disconnected (or + doc: /* Hook to be run when kill-emacs is called. +Since `kill-emacs' may be invoked when the terminal is disconnected (or in other similar situations), functions placed on this hook should not expect to be able to interact with the user. To ask for confirmation, -see `kill-emacs-query-functions' instead. */); +see `kill-emacs-query-functions' instead. + +The hook is not run in batch mode, i.e., if `noninteractive' is non-nil. */); Vkill_emacs_hook = Qnil; empty_string = build_string (""); diff --git a/src/lread.c b/src/lread.c index fa3b5cdd4ec..43fbe352f2c 100644 --- a/src/lread.c +++ b/src/lread.c @@ -641,7 +641,8 @@ record_load_unwind (old) DEFUN ("load", Fload, Sload, 1, 5, 0, doc: /* Execute a file of Lisp code named FILE. First try FILE with `.elc' appended, then try with `.el', - then try FILE unmodified. Environment variable references in FILE + then try FILE unmodified (the exact suffixes are determined by +`load-suffixes'). Environment variable references in FILE are replaced with their values by calling `substitute-in-file-name'. This function searches the directories in `load-path'. If optional second arg NOERROR is non-nil, -- 2.39.2