Commit d77b70e5 authored by Markus Rost's avatar Markus Rost
Browse files

*** empty log message ***

parent 56e5818f
2002-10-11 Markus Rost <rost@math.ohio-state.edu>
* emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in
batch mode).
* lread.c (Fload): Doc fix (load-suffixes).
2002-10-10 Steven Tamm <steventamm@mac.com> 2002-10-10 Steven Tamm <steventamm@mac.com>
* macterm.c (syms_of_macterm, mac_get_mouse_btn): Reversed * macterm.c (syms_of_macterm, mac_get_mouse_btn): Reversed
......
...@@ -2302,11 +2302,13 @@ Emacs is running. */); ...@@ -2302,11 +2302,13 @@ Emacs is running. */);
doc: /* Non-nil means Emacs is running without interactive terminal. */); doc: /* Non-nil means Emacs is running without interactive terminal. */);
DEFVAR_LISP ("kill-emacs-hook", &Vkill_emacs_hook, DEFVAR_LISP ("kill-emacs-hook", &Vkill_emacs_hook,
doc: /* Hook to be run whenever kill-emacs is called. doc: /* Hook to be run when kill-emacs is called.
Since kill-emacs may be invoked when the terminal is disconnected (or Since `kill-emacs' may be invoked when the terminal is disconnected (or
in other similar situations), functions placed on this hook should not in other similar situations), functions placed on this hook should not
expect to be able to interact with the user. To ask for confirmation, 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; Vkill_emacs_hook = Qnil;
empty_string = build_string (""); empty_string = build_string ("");
......
...@@ -641,7 +641,8 @@ record_load_unwind (old) ...@@ -641,7 +641,8 @@ record_load_unwind (old)
DEFUN ("load", Fload, Sload, 1, 5, 0, DEFUN ("load", Fload, Sload, 1, 5, 0,
doc: /* Execute a file of Lisp code named FILE. doc: /* Execute a file of Lisp code named FILE.
First try FILE with `.elc' appended, then try with `.el', 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'. are replaced with their values by calling `substitute-in-file-name'.
This function searches the directories in `load-path'. This function searches the directories in `load-path'.
If optional second arg NOERROR is non-nil, If optional second arg NOERROR is non-nil,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment