From: ueno Date: Thu, 28 Jul 2005 02:36:19 +0000 (+0000) Subject: Fixed. X-Git-Tag: channel-coding-branchpoint~223 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e0e725437c5f04e95d7d1cedc69cbc22b90d7a8;p=elisp%2Friece.git Fixed. --- diff --git a/lisp/riece-debug.el b/lisp/riece-debug.el index b08dc28..cddd944 100644 --- a/lisp/riece-debug.el +++ b/lisp/riece-debug.el @@ -28,14 +28,14 @@ (require 'riece-options) (defun riece-debug-1 (message detail) - (let ((time (format-time-string "%Y-%m-%d:%H:%M:%S"))) - (message "riece-debug:%s: %s" time message) + (message "riece-debug: %s" message) (save-excursion (set-buffer riece-debug-buffer) (goto-char (point-max)) - (if detail - (insert "*** " time ": " message "\n" detail "\n") - (insert "*** " time ": " message "\n")))) + (let ((time (format-time-string "%Y-%m-%d:%H:%M:%S"))) + (if detail + (insert "*** " time ": " message "\n" detail "\n") + (insert "*** " time ": " message "\n"))))) (defun riece-debug (message &optional detail) "Print a one-line debug MESSAGE at the bottom of the frame.