aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-09-27 18:47:28 +0000
committerStefan Monnier2002-09-27 18:47:28 +0000
commit5b8b9fa77678cc56db02224a26e209b7c0e4d827 (patch)
treec6b6848b3563c2eeae333d9dee3ced53f643aa24
parenta1784ba2bd216903dc0c191b7d55e6b5f505d7e4 (diff)
downloademacs-5b8b9fa77678cc56db02224a26e209b7c0e4d827.tar.gz
emacs-5b8b9fa77678cc56db02224a26e209b7c0e4d827.zip
Add info about --eval and --display.
-rw-r--r--etc/NEWS5
-rw-r--r--man/misc.texi10
2 files changed, 15 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 829b06de212..67f12f2fede 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -60,6 +60,11 @@ See the files mac/README and mac/INSTALL for build instructions.
60* Changes in Emacs 21.4 60* Changes in Emacs 21.4
61 61
62+++ 62+++
63** The `emacsclient' understand the options `--eval' and `--display'
64which tell Emacs resp. to evaluate the given elisp expressions and
65to use the given display when visiting files.
66
67+++
63** The mode line position information now comes before the major mode. 68** The mode line position information now comes before the major mode.
64When the file is maintained under version control, that information 69When the file is maintained under version control, that information
65appears between the position information and the major mode. 70appears between the position information and the major mode.
diff --git a/man/misc.texi b/man/misc.texi
index ff82d04d7be..8f9ba69a06b 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1300,6 +1300,16 @@ the value of the @samp{--alternate-editor} takes precedence.
1300function which will communicate with a running Emacs server, or start 1300function which will communicate with a running Emacs server, or start
1301one if none exists. 1301one if none exists.
1302 1302
1303If you use several displays, you can tell Emacs on which display to
1304open the given files with the option @samp{--display=@var{DISPLAY}}.
1305This can be used typically when connecting from home to an Emacs
1306server running on your machine at your workplace.
1307
1308You can also use @code{emacsclient} to execute any piece of Emacs Lisp
1309code, using the option @samp{--eval}. When this option is given, the
1310rest of the arguments is not taken as a list of files to visit but as
1311a list of expressions to evaluate.
1312
1303@node Hardcopy, PostScript, Emacs Server, Top 1313@node Hardcopy, PostScript, Emacs Server, Top
1304@section Hardcopy Output 1314@section Hardcopy Output
1305@cindex hardcopy 1315@cindex hardcopy