From 04cd77473679fc56bb8512e31c64edf06e925d2d Mon Sep 17 00:00:00 2001 From: shuhei Date: Fri, 27 Apr 2001 23:54:18 +0000 Subject: [PATCH] (mime-decode-parameter-value): Don't use `int-char'. --- mime-parse.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mime-parse.el b/mime-parse.el index b2dc3ab..fc58e67 100644 --- a/mime-parse.el +++ b/mime-parse.el @@ -97,10 +97,9 @@ be the result." (insert text) (goto-char (point-min)) (while (re-search-forward "%[0-9A-Fa-f][0-9A-Fa-f]" nil t) - (insert (prog1 (int-char - (string-to-int - (buffer-substring (point)(- (point) 2)) - 16)) + (insert (prog1 (string-to-int + (buffer-substring (point)(- (point) 2)) + 16) (delete-region (point)(- (point) 3))))) (setq text (buffer-string)) (when charset -- 1.7.10.4