Commits

Peter Szilagyi  committed 8ea4442

Emacs can decide how to log exprs it receives.
The omake mode log buffer is more readable without the Omake.Server.logf boilerplate.

  • Participants
  • Parent commits 2df29f5

Comments (0)

Files changed (1)

File ocaml/omake/lib/emacs.ml

    a watched raw buffer) on the writer.  *)
 let send_str writer msg =
   let esc_msg = String.escaped msg in
-  let header = sprintf "(Omake.Server.logf \"Server  : %s\")" esc_msg in
-  let msg = sprintf "(progn %s %s)" header msg in
+  (* Emacs can decide how to log exprs it receives.  The omake mode log buffer is more
+     readable without this boilerplate.
+
+     let header = sprintf "(Omake.Server.logf \"Server  : %s\")" esc_msg in
+     let msg = sprintf "(progn %s %s)" header msg in *)
   Log.printf "Writing: %s" msg;
   (* newline is important here.  It designates an end of input. *)
   if Writer.is_open writer then