changeset 47650:5dbc6d83f14d

Add info about --eval and --display.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 27 Sep 2002 18:47:28 +0000
parents 3b27be508d4e
children 0c66d7531f3e
files etc/NEWS man/misc.texi
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Fri Sep 27 18:30:30 2002 +0000
+++ b/etc/NEWS	Fri Sep 27 18:47:28 2002 +0000
@@ -60,6 +60,11 @@
 * Changes in Emacs 21.4
 
 +++
+** The `emacsclient' understand the options `--eval' and `--display'
+which tell Emacs resp. to evaluate the given elisp expressions and
+to use the given display when visiting files.
+
++++
 ** The mode line position information now comes before the major mode.
 When the file is maintained under version control, that information
 appears between the position information and the major mode.
--- a/man/misc.texi	Fri Sep 27 18:30:30 2002 +0000
+++ b/man/misc.texi	Fri Sep 27 18:47:28 2002 +0000
@@ -1300,6 +1300,16 @@
 function which will communicate with a running Emacs server, or start
 one if none exists.
 
+If you use several displays, you can tell Emacs on which display to
+open the given files with the option @samp{--display=@var{DISPLAY}}.
+This can be used typically when connecting from home to an Emacs
+server running on your machine at your workplace.
+
+You can also use @code{emacsclient} to execute any piece of Emacs Lisp
+code, using the option @samp{--eval}.  When this option is given, the
+rest of the arguments is not taken as a list of files to visit but as
+a list of expressions to evaluate.
+
 @node Hardcopy, PostScript, Emacs Server, Top
 @section Hardcopy Output
 @cindex hardcopy