]> code.delx.au - gnu-emacs/commitdiff
(server-log): Record the current time.
authorRichard M. Stallman <rms@gnu.org>
Fri, 10 Nov 1995 17:01:59 +0000 (17:01 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 10 Nov 1995 17:01:59 +0000 (17:01 +0000)
End with newline whenever STRING doesn't end with one.

lisp/server.el

index 5097f9879638d9e51ea2e75c1ba675b31666074b..888cda5137f2be12e9adfbaae306feb2f19be307 100644 (file)
@@ -122,8 +122,8 @@ by the programs that invoke the emacs server.")
       (save-excursion
        (set-buffer "*server*")
        (goto-char (point-max))
-       (insert string)
-       (or (bobp) (newline)))))
+       (insert (current-time-string) " " string)
+       (or (bolp) (newline)))))
 
 (defun server-sentinel (proc msg)
   (cond ((eq (process-status proc) 'exit)