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

Added error check in lyskom-fill-message so errors in filling don't prevent displaying the message

parent 55cb0063
2001-05-10 David Byers <davby@ida.liu.se>
* lyskom-rest.el (lyskom-fill-message): Protect the filling loop
from errors (such as regexp stack overflows).
2001-05-09 David Byers <davby@ida.liu.se>
* ChangeLog: Set language environment.
......
......@@ -1916,6 +1916,7 @@ in lyskom-messages."
;; Scan each line
;;
(condition-case nil
(while (not (eobp))
(setq current-line-length (lyskom-fill-message-line-length))
......@@ -2131,6 +2132,9 @@ in lyskom-messages."
(forward-line 1)
(beginning-of-line)))
(error (goto-char (point-max))
(setq in-paragraph nil)))
;;
;; We've seen the end of buffer. Fill any unfilled junk.
;;
......
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