Commit 91972c0f authored by David Byers's avatar David Byers
Browse files

Turn off multibyte chars in parse buffer or parsing may fail

parent 11a4722b
1999-11-19 David Byers <davby@ida.liu.se> 1999-11-19 David Byers <davby@ida.liu.se>
* parse.el (lyskom-init-parse): Turn off multibyte chars in the
parse buffer.
* utilities.el (lyskom-truncate-string-to-width): New function * utilities.el (lyskom-truncate-string-to-width): New function
copied from Gnu Emacs. copied from Gnu Emacs.
......
...@@ -988,6 +988,8 @@ i.e creates the buffer, sets all markers and pointers." ...@@ -988,6 +988,8 @@ i.e creates the buffer, sets all markers and pointers."
(concat (if lyskom-debug-communications-to-buffer "" " ") (concat (if lyskom-debug-communications-to-buffer "" " ")
(buffer-name) (buffer-name)
"-replies"))) "-replies")))
(save-excursion (set-buffer lyskom-unparsed-buffer)
(set-buffer-multibyte nil))
(setq lyskom-unparsed-marker (setq lyskom-unparsed-marker
(lyskom-save-excursion (lyskom-save-excursion
(let ((proc lyskom-proc)) (let ((proc lyskom-proc))
......
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