Commit b1376368 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(fill-find-break-point): Check the validity of charset.

parent e4044bb0
......@@ -315,7 +315,9 @@ If the charset has no such property, do nothing."
(if (eq charset 'ascii)
(setq ch (preceding-char)
charset (char-charset ch)))
(setq func (get-charset-property charset 'fill-find-break-point-function))
(if (charsetp charset)
(setq func
(get-charset-property charset 'fill-find-break-point-function)))
(if (and func (fboundp func))
(funcall func limit))))
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