(gnus-emphasis-strikethru): Use the :strike-through attribute in Emacs.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 22 Oct 2003 12:25:50 +0000 (12:25 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 22 Oct 2003 12:25:50 +0000 (12:25 +0000)
lisp/ChangeLog
lisp/gnus-art.el

index 070461b..ff7f4f2 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-emphasis-strikethru): Use the :strike-through
+       attribute in Emacs.
+
 2003-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * message.el (message-bounce): Don't erase except bounced header.
index 49b6bab..e208f11 100644 (file)
@@ -396,7 +396,9 @@ and the latter avoids underlining any whitespace at all."
 Example: (_/*word*/_)."
   :group 'gnus-article-emphasis)
 
-(defface gnus-emphasis-strikethru '((t (:strikethru t)))
+(defface gnus-emphasis-strikethru (if (featurep 'xemacs)
+                                     '((t (:strikethru t)))
+                                   '((t (:strike-through t))))
   "Face used for displaying strike-through text (-word-)."
   :group 'gnus-article-emphasis)