Commit a810b1e4 authored by David Byers's avatar David Byers
Browse files

Use buffer-string in a more portable way in lyskom-protocol-error

parent ee3f3258
......@@ -1153,7 +1153,9 @@ functions and variables that are connected with the lyskom-buffer."
(let* ((buffer (generate-new-buffer " *Backtrace*"))
(standard-output buffer))
(backtrace)
(prog1 (buffer-string nil nil buffer)
(prog1 (save-excursion
(set-buffer buffer)
(buffer-string))
(kill-buffer buffer)))
(lyskom-string-to-parse))
lyskom-backtrace-list))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment