From be940bc538e28d6e3a9ba1337f5aafc046a96272 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 26 Mar 2005 14:46:16 +0000 Subject: (debugger-record-expression): Add a missing format to `message'. Inspired by Deepak Goel . --- lisp/emacs-lisp/debug.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index e97e9012fc1..1e45439658c 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -584,10 +584,9 @@ Applies to the frame whose line point is on in the backtrace." (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) -- cgit v1.2.3