(debugger-record-expression): Add a missing format to `message'.

Inspired by Deepak Goel <deego@gnufans.org>.
This commit is contained in:
Stefan Monnier 2005-03-26 14:46:16 +00:00
parent 44f050e90a
commit be940bc538
2 changed files with 11 additions and 7 deletions

View file

@ -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)