From be940bc538e28d6e3a9ba1337f5aafc046a96272 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 26 Mar 2005 14:46:16 +0000 Subject: [PATCH] (debugger-record-expression): Add a missing format to `message'. Inspired by Deepak Goel . --- lisp/ChangeLog | 11 ++++++++--- lisp/emacs-lisp/debug.el | 7 +++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a64bd2a0743..9ef3a5d7fc1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-03-26 Stefan Monnier + + * emacs-lisp/debug.el (debugger-record-expression): Add a missing + format to `message'. Inspired by Deepak Goel . + 2005-03-25 Richard M. Stallman * filesets.el (filesets-init): Add autoload. @@ -5,7 +10,7 @@ * mail/mailalias.el (mail-directory): Doc fix. 2005-03-25 Frederik Fouvry - + * mail/mailalias.el (mail-directory-process): Do nothing if mail-directory-process is an atom. (mail-get-names): Ignore mail-directory-names if it is an atom. @@ -18,8 +23,8 @@ 2005-03-26 Kenichi Handa - * international/mule-util.el (detect-coding-with-priority): Call - update-coding-systems-internal before detect-coding-region. + * international/mule-util.el (detect-coding-with-priority): + Call update-coding-systems-internal before detect-coding-region. 2005-03-26 Nick Roberts 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) -- 2.39.2