summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-group.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-09-07 12:07:00 +0800
committerChong Yidong <cyd@gnu.org>2012-09-07 12:07:00 +0800
commit1d43a35f49f7403f7f50f36dddf88167a7c81f11 (patch)
treefb223a87c6616013d7074f3b0673016c882db7b1 /lisp/gnus/gnus-group.el
parent2fe282993cf9c84f5be424dc93d03f9705a7edd8 (diff)
downloademacs-1d43a35f49f7403f7f50f36dddf88167a7c81f11.tar.gz
Partially revert last Gnus merge.
The add-face function has been added gnus-compat.el, but is not in Emacs; this leaves Gnus in an unusable state. * lisp/gnus/gnus-salt.el (gnus-tree-highlight-node): * lisp/gnus/gnus-sum.el (gnus-summary-highlight-line): * lisp/gnus/gnus-group.el (gnus-group-highlight-line): Revert use of add-face. * lisp/gnus/gnus-util.el (gnus-put-text-property-excluding-characters-with-faces): Restore.
Diffstat (limited to 'lisp/gnus/gnus-group.el')
-rw-r--r--lisp/gnus/gnus-group.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 24406fcc04e..8c7d0165976 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -1669,7 +1669,9 @@ and ends at END."
gnus-group-highlight))))
(unless (eq face (get-text-property beg 'face))
(let ((inhibit-read-only t))
- (add-face beg end (if (boundp face) (symbol-value face) face)))
+ (gnus-put-text-property-excluding-characters-with-faces
+ beg end 'face
+ (if (boundp face) (symbol-value face) face)))
(gnus-extent-start-open beg))))
(defun gnus-group-get-icon (group)