aboutsummaryrefslogtreecommitdiffstats
path: root/README.multi-tty
diff options
context:
space:
mode:
authorKaroly Lorentey <[email protected]>2006-03-26 16:34:35 +0000
committerKaroly Lorentey <[email protected]>2006-03-26 16:34:35 +0000
commit2828d5f9d4f097228e9b64542fd74de4c47135e5 (patch)
treedb326e57114dedeb6b74f050dd485fd6fe1184d3 /README.multi-tty
parent59b3194ca9708b904c87d52bb9e074e32b7d9089 (diff)
Set `default-directory' in *scratch* to the current directory of emacsclient.
* lib-src/emacsclient.c (get_current_dir_name): New function, copied here from sysdep.c. (main): Use it to send over the current directory. * lisp/server.el (server-process-filter): Accept `-dir' command. Set `default-directory' of the *scratch* buffer on connect, if applicable. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-539
Diffstat (limited to 'README.multi-tty')
-rw-r--r--README.multi-tty7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.multi-tty b/README.multi-tty
index 442c4c92fd..f3061c921d 100644
--- a/README.multi-tty
+++ b/README.multi-tty
@@ -1487,5 +1487,12 @@ DIARY OF CHANGES
(Done in patch-537.)
+-- The `default-directory' variable should somehow be set to the
+ cwd of the emacsclient process when the user runs emacsclient
+ without file arguments. Perhaps it is OK to just override the
+ directory of the *scratch* buffer.
+
+ (Done in patch-539.)
+
;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d