Mercurial > hgrepos > hgweb.cgi > yatex
diff yahtml.el @ 199:76fe4e01931d dev
Avoid infinte loop on corrupt CSS file.
author | yuuji@gentei.org |
---|---|
date | Tue, 10 Jan 2012 15:55:35 +0900 |
parents | cf7352dfa40c |
children | 3e8e4b811c53 |
line wrap: on
line diff
--- a/yahtml.el Tue Jan 10 15:24:37 2012 +0900 +++ b/yahtml.el Tue Jan 10 15:55:35 2012 +0900 @@ -1,6 +1,6 @@ ;;; -*- Emacs-Lisp -*- ;;; (c) 1994-2012 by HIROSE Yuuji [yuuji(@)yatex.org] -;;; Last modified Mon Jan 9 20:13:20 2012 on firestorm +;;; Last modified Tue Jan 10 15:54:39 2012 on firestorm ;;; $Id$ (defconst yahtml-revision-number "1.74.2" @@ -2959,7 +2959,7 @@ (setcdr a (cons (list class) (cdr a)))) (setq alist (cons (list element (list class)) alist)))) (goto-char (1- e)) - (search-forward "}" nil t) + (search-forward "}" nil 1) ;1=move to limit when not found. (setq b (point)))) alist))))