From: Lars Ingebrigtsen Date: Fri, 12 Feb 2016 05:33:36 +0000 (+1100) Subject: Don't use the obsolete char-valid-p function X-Git-Tag: emacs-26.0.90~2618 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c162e73d471242c5cb649db3e50d1a5787127ab;p=emacs.git Don't use the obsolete char-valid-p function * lisp/gnus/mm-url.el (mm-url-decode-entities): Don't use the obsolete char-valid-p function. --- diff --git a/lisp/gnus/mm-url.el b/lisp/gnus/mm-url.el index 25954b937ee..fb11d7a07f5 100644 --- a/lisp/gnus/mm-url.el +++ b/lisp/gnus/mm-url.el @@ -364,7 +364,7 @@ If FOLLOW-REFRESH is non-nil, redirect refresh url in META." (string-to-number (substring entity 1))))) (setq c (or (cdr (assq c mm-extra-numeric-entities)) (mm-ucs-to-char c))) - (if (char-valid-p c) c ?#)) + (if (characterp c) c ?#)) (or (cdr (assq (intern entity) mm-url-html-entities)) ?#))))