2000-12-21 22:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 22 Dec 2000 03:54:47 +0000 (03:54 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 22 Dec 2000 03:54:47 +0000 (03:54 +0000)
* gnus-art.el (gnus-treat-emphasize): Don't treat emphasis if
Emacs runs on a terminal.

lisp/ChangeLog
lisp/gnus-art.el

index 0635093..b795d90 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-21 22:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-art.el (gnus-treat-emphasize): Don't treat emphasis if
+       Emacs runs on a terminal.
+
 2000-12-21 14:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-msg.el (gnus-bug): Revert to save-excursion.
index 1ca2400..f65c320 100644 (file)
@@ -756,7 +756,11 @@ See the manual for details."
   :type gnus-article-treat-head-custom)
 (put 'gnus-treat-buttonize-head 'highlight t)
 
-(defcustom gnus-treat-emphasize 50000
+(defcustom gnus-treat-emphasize 
+  (and (or window-system
+          (featurep 'xemacs)
+          (>= (string-to-number emacs-version) 21))
+       50000)
   "Emphasize text.
 Valid values are nil, t, `head', `last', an integer or a predicate.
 See the manual for details."