aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-05-02 04:06:53 +0200
committerLars Magne Ingebrigtsen2011-05-02 04:06:53 +0200
commite793a9404da8d8cb0d318f5ba87998e2be6ecb50 (patch)
tree175ab5ecf4a07276597c981d174caf29e4dd87e0 /doc
parent817bcc7cb0dbc976aa3e7bc2c3940bb54784869e (diff)
downloademacs-e793a9404da8d8cb0d318f5ba87998e2be6ecb50.tar.gz
emacs-e793a9404da8d8cb0d318f5ba87998e2be6ecb50.zip
Implement and document `server-eval-at'.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/misc.texi9
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 92cd765b492..efe031d465b 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * misc.texi (Emacs Server): Document `server-eval-at'.
4
12011-04-24 Chong Yidong <cyd@stupidchicken.com> 52011-04-24 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * maintaining.texi (List Tags): Document next-file. Suggested by 7 * maintaining.texi (List Tags): Document next-file. Suggested by
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 1299895a06e..06267851d4c 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1495,6 +1495,15 @@ server-name @key{RET} foo @key{RET}} sets the server name to
1495@samp{foo}. The @code{emacsclient} program can specify a server by 1495@samp{foo}. The @code{emacsclient} program can specify a server by
1496name, using the @samp{-s} option (@pxref{emacsclient Options}). 1496name, using the @samp{-s} option (@pxref{emacsclient Options}).
1497 1497
1498@findex server-eval-at
1499 If you have defined a server by a unique server name, you can
1500connect to this server from other Emacs instances and evaluate forms
1501on it by using the @code{server-eval-at} function.
1502
1503@code{(server-eval-at "foo" '(+ 1 2))} gives the result @code{3}, if
1504there's a server with that name that is listening. If not, an error
1505will be signaled.
1506
1498@menu 1507@menu
1499* Invoking emacsclient:: Connecting to the Emacs server. 1508* Invoking emacsclient:: Connecting to the Emacs server.
1500* emacsclient Options:: Emacs client startup options. 1509* emacsclient Options:: Emacs client startup options.