diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-04-25 09:57:23 -0400 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-04-25 09:57:23 -0400 |
commit | 095ec506d03b76155b399fd7b23554279b2cfee0 (patch) | |
tree | 19d842d92c57cf863e69858bb85e0c1c311c4308 /doc | |
parent | f55ac7a74510d68f02d17a034571350f9876017f (diff) | |
parent | 524e161a536c1c803f453f286430ba1a4e36694e (diff) | |
download | emacs-095ec506d03b76155b399fd7b23554279b2cfee0.tar.gz |
Merge from origin/emacs-29
524e161a536 Followup to addition of TUTORIAL.fa
76f50df1539 Add Farsi/Persian translation of the tutorial
8eacfaea6d8 Add Mongolian language environments
fe8efbb8f75 Document the 'end-session' event on MS-Windows
d80f959bede Update to Org 9.6.4-9-g8eb209
98c6cfcbe4a Don't support versioned grammar libraries on MS-Windows
8f71c1546df Accept versioned tree-sitter language grammar files
99add09d5e1 tab-bar-new-tab: inhibit side-window checks
087e8181947 * etc/NEWS: Fix outline level. (Bug#63042)
d7f38558c4c ; Improve font selection for Traditional Mongolian
965c5e0231c Fix rendering of Traditional Mongolian script
9a0f10b5f88 Fix line-number-at-pos when POSITION is out of narrowing
4e0f4292aaf ; * etc/tutorials/TUTORIAL: Fix punctuation.
dec2ac0c657 Fix exiting Emacs after saving a tutorial
# Conflicts:
# etc/NEWS
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/commands.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 30765a7e8f7..cd1745614eb 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -2395,6 +2395,17 @@ as @code{set-language-environment}), use the ;; Get the full localized name of the language (w32-get-locale-info language-id t) @end smallexample + +@cindex @code{end-session} event +@item end-session +This event is generated on MS-Windows when the operating system +informs Emacs that the user terminated the interactive session, or +that the system is shutting down. The standard definition of this +event is to invoke the @code{kill-emacs} command (@pxref{Killing +Emacs}) so as to shut down Emacs in an orderly fashion; if there are +unsaved changes, this will produce auto-save files +(@pxref{Auto-Saving}) that the user can use after restarting the +session to restore the unsaved edits. @end table If one of these events arrives in the middle of a key sequence---that |