diff options
author | Harald Hanche-Olsen <harald.hanche-olsen@ntnu.no> | 2021-06-04 11:09:46 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-06-04 11:09:46 +0200 |
commit | 9136c064d66a1d4ea69472ffe25662a8874f7ba6 (patch) | |
tree | 4bb684018fa2e99605b54d4242826d3b90c3f991 /doc/emacs/misc.texi | |
parent | 6d1d048d65d35c217e9d505ebe3e76a202553c97 (diff) | |
download | emacs-9136c064d66a1d4ea69472ffe25662a8874f7ba6.tar.gz emacs-9136c064d66a1d4ea69472ffe25662a8874f7ba6.tar.bz2 emacs-9136c064d66a1d4ea69472ffe25662a8874f7ba6.zip |
Add a new `server-edit-abort' command
* doc/emacs/misc.texi (Invoking emacsclient): Document it (bug#11358).
* lisp/server.el (server-edit): Mention it in the doc string.
(server-edit-abort): New command.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'doc/emacs/misc.texi')
-rw-r--r-- | doc/emacs/misc.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index c8027792505..aed9fa9c665 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -1864,6 +1864,12 @@ it to exit. Programs that use @env{EDITOR} usually wait for the editor---in this case @command{emacsclient}---to exit before doing something else. +@findex server-edit-abort + If you want to abandon the edit instead, use the @kbd{M-x +server-edit-abort} command. This sends a message back to the +@command{emacsclient} program, telling it to exit, but doesn't save +any files. + You can also call @command{emacsclient} with multiple file name arguments: @samp{emacsclient @var{file1} @var{file2} ...} tells the Emacs server to visit @var{file1}, @var{file2}, and so forth. Emacs |