From: yamaoka Date: Tue, 26 Aug 2003 01:19:09 +0000 (+0000) Subject: * gnus-art.el (gnus-treat-display-x-face): Use `set-default' instead of X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=911f417bf66ca8b8db566a33091dacba784e5ab0;p=elisp%2Fgnus.git- * gnus-art.el (gnus-treat-display-x-face): Use `set-default' instead of `custom-set-default' for old Emacsen. --- 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)