shr.el: Fix last change.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 19 Oct 2010 08:18:29 +0000 (08:18 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 19 Oct 2010 08:18:29 +0000 (08:18 +0000)
lisp/ChangeLog
lisp/shr.el

index 0015a27..ba52a43 100644 (file)
@@ -1,6 +1,6 @@
 2010-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
 
-       * shr.el: Load kinsoku.
+       * shr.el: Load kinsoku if necessary.
        (shr-kinsoku-shorten): New internal variable.
        (shr-find-fill-point): Make kinsoku shorten text line if
        shr-kinsoku-shorten is bound to non-nil.
index 50e7532..d16899c 100644 (file)
@@ -32,7 +32,8 @@
 
 (eval-when-compile (require 'cl))
 (require 'browse-url)
-(load "kinsoku" nil t)
+(unless (aref (char-category-set (make-char 'japanese-jisx0208 33 35)) ?>)
+  (load "kinsoku" nil t))
 
 (defgroup shr nil
   "Simple HTML Renderer"