emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7c162e7 06/12: Don't use the obsolete char-valid-p


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 7c162e7 06/12: Don't use the obsolete char-valid-p function
Date: Fri, 12 Feb 2016 06:14:50 +0000

branch: master
commit 7c162e73d471242c5cb649db3e50d1a5787127ab
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/gnus/mm-url.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/gnus/mm-url.el b/lisp/gnus/mm-url.el
index 25954b9..fb11d7a 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))
                       ?#))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]