aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <[email protected]>2011-05-02 04:06:53 +0200
committerLars Magne Ingebrigtsen <[email protected]>2011-05-02 04:06:53 +0200
commite793a9404da8d8cb0d318f5ba87998e2be6ecb50 (patch)
tree175ab5ecf4a07276597c981d174caf29e4dd87e0 /doc
parent817bcc7cb0dbc976aa3e7bc2c3940bb54784869e (diff)
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 92cd765b49..efe031d465 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-02 Lars Magne Ingebrigtsen <[email protected]>
+
+ * misc.texi (Emacs Server): Document `server-eval-at'.
+
2011-04-24 Chong Yidong <[email protected]>
* maintaining.texi (List Tags): Document next-file. Suggested by
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 1299895a06..06267851d4 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
@samp{foo}. The @code{emacsclient} program can specify a server by
name, using the @samp{-s} option (@pxref{emacsclient Options}).
+@findex server-eval-at
+ If you have defined a server by a unique server name, you can
+connect to this server from other Emacs instances and evaluate forms
+on it by using the @code{server-eval-at} function.
+
+@code{(server-eval-at "foo" '(+ 1 2))} gives the result @code{3}, if
+there's a server with that name that is listening. If not, an error
+will be signaled.
+
@menu
* Invoking emacsclient:: Connecting to the Emacs server.
* emacsclient Options:: Emacs client startup options.