summaryrefslogtreecommitdiff
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
authorStephen Eglen <stephen@gnu.org>2002-12-02 20:57:42 +0000
committerStephen Eglen <stephen@gnu.org>2002-12-02 20:57:42 +0000
commit45adde3246593cb0710ca6976ac536ce3d798c6e (patch)
treed42c4c00ea004bafdcb86fcd7c3f81e02eed52c9 /lib-src/emacsclient.c
parentc0752905a7d6a707070efae068a079b5cb4eac9c (diff)
(main): Tell user how to start server within Emacs if socket could not
be found.
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r--lib-src/emacsclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 81245bcd66..9a4a974c94 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -380,7 +380,8 @@ main (argc, argv)
/* `stat' failed */
if (errno == ENOENT)
fprintf (stderr,
- "%s: can't find socket; have you started the server?\n",
+ "%s: can't find socket; have you started the server?\n\
+To start the server in Emacs, type \"M-x server-start\".\n",
argv[0]);
else
fprintf (stderr, "%s: can't stat %s: %s\n",