From 911f417bf66ca8b8db566a33091dacba784e5ab0 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 26 Aug 2003 01:19:09 +0000 Subject: [PATCH] * gnus-art.el (gnus-treat-display-x-face): Use `set-default' instead of `custom-set-default' for old Emacsen. --- ChangeLog | 3 +++ lisp/gnus-art.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 848bcaf..5d624e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-08-26 Katsumi Yamaoka + * lisp/gnus-art.el (gnus-treat-display-x-face): Use `set-default' + instead of `custom-set-default' for old Emacsen. + * lisp/gnus-sum.el (gnus-summary-search-article-highlight-matched-text): Replace `gnus-treat-display-xface' with `gnus-treat-display-x-face'. diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 7018e19..e1c113e 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -1223,7 +1223,7 @@ See Info node `(gnus)Customizing Articles' and Info node :link '(custom-manual "(gnus)X-Face") :type gnus-article-treat-head-custom :set (lambda (symbol value) - (custom-set-default + (set-default symbol (cond ((or (boundp symbol) (get symbol 'saved-value)) value) -- 1.7.10.4