mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(server-log): Record the current time.
End with newline whenever STRING doesn't end with one.
This commit is contained in:
parent
b883991acc
commit
74c20cd37b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user