+2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * server.el: Undo part of the multi-tty change, which is only
+ needed if server.el is preloaded, and broke server-running-p.
+ (server-socket-dir): Initialize in the defvar, as before.
+ (server-start): Remove initialization of server-socket-dir.
+
2008-04-05 Eli Zaretskii <eliz@gnu.org>
* ls-lisp.el (ls-lisp-format): Support inodes that are 2- or
* cus-face.el (custom-face-attributes): Handle roman slant.
- * faces.el (default): Ensure the face-defface-spec property is
- set.
+ * faces.el (default): Ensure the face-defface-spec property is set.
2008-04-05 Adrian Robert <Adrian.B.Robert@gmail.com>
(defvar server-name "server")
-(defvar server-socket-dir nil
- "The directory in which to place the server socket.
-Initialized by `server-start'.")
+(defvar server-socket-dir (format "/tmp/emacs%d" (user-uid))
+ "The directory in which to place the server socket.")
(defun server-clients-with (property value)
"Return a list of clients with PROPERTY set to VALUE."
(not server-clients)
(yes-or-no-p
"The current server still has clients; delete them? "))
- ;; It is safe to get the user id now.
- (setq server-socket-dir (or server-socket-dir
- (format "/tmp/emacs%d" (user-uid))))
(when server-process
;; kill it dead!
(ignore-errors (delete-process server-process)))