X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Friece-debug.el;h=c2ba3c6c7abd1a39368b8885fadecc316ae2ffef;hb=7362a02734101841ce1c38e30b3ef37e7462dd01;hp=f5e8bf9d23e22969368972eff6db8c241d3e721f;hpb=fce5d4289e36583b8fde098f5b285a83cd950a40;p=elisp%2Friece.git diff --git a/lisp/riece-debug.el b/lisp/riece-debug.el index f5e8bf9..c2ba3c6 100644 --- a/lisp/riece-debug.el +++ b/lisp/riece-debug.el @@ -19,8 +19,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Code: @@ -32,10 +32,10 @@ (save-excursion (set-buffer riece-debug-buffer) (goto-char (point-max)) - (let ((point (point))) + (let ((time (format-time-string "%Y-%m-%d:%H:%M:%S"))) (if detail - (insert message "\n" detail "\n") - (insert message "\n"))))) + (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.