changeset 60972:d874c232323c

(debugger-record-expression): Add a missing format to `message'. Inspired by Deepak Goel <deego@gnufans.org>.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 26 Mar 2005 14:45:56 +0000
parents 02d73fde2c17
children a6879257cbcb
files lisp/emacs-lisp/debug.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/debug.el	Sat Mar 26 06:44:41 2005 +0000
+++ b/lisp/emacs-lisp/debug.el	Sat Mar 26 14:45:56 2005 +0000
@@ -584,10 +584,9 @@
     (terpri))
 
   (with-current-buffer (get-buffer debugger-record-buffer)
-    (save-excursion
-      (forward-line -1)
-      (message
-       (buffer-substring (point) (progn (end-of-line) (point)))))))
+    (message "%s" 
+	     (buffer-substring (line-beginning-position 0)
+			       (line-end-position 0)))))
 
 (put 'debugger-mode 'mode-class 'special)