yatex
changeset 199:76fe4e01931d dev
Avoid infinte loop on corrupt CSS file.
author | yuuji@gentei.org |
---|---|
date | Tue, 10 Jan 2012 15:55:35 +0900 |
parents | 768ff443ef84 |
children | 3e8e4b811c53 |
files | yahtml.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yahtml.el Tue Jan 10 15:24:37 2012 +0900 1.2 +++ b/yahtml.el Tue Jan 10 15:55:35 2012 +0900 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; -*- Emacs-Lisp -*- 1.5 ;;; (c) 1994-2012 by HIROSE Yuuji [yuuji(@)yatex.org] 1.6 -;;; Last modified Mon Jan 9 20:13:20 2012 on firestorm 1.7 +;;; Last modified Tue Jan 10 15:54:39 2012 on firestorm 1.8 ;;; $Id$ 1.9 1.10 (defconst yahtml-revision-number "1.74.2" 1.11 @@ -2959,7 +2959,7 @@ 1.12 (setcdr a (cons (list class) (cdr a)))) 1.13 (setq alist (cons (list element (list class)) alist)))) 1.14 (goto-char (1- e)) 1.15 - (search-forward "}" nil t) 1.16 + (search-forward "}" nil 1) ;1=move to limit when not found. 1.17 (setq b (point)))) 1.18 alist)))) 1.19