From: Karl Heuer Date: Mon, 29 Jan 1996 23:16:11 +0000 (+0000) Subject: (hexl-hex-char-to-integer, hexl-oct-char-to-integer): Fix error format string. X-Git-Tag: emacs-19.34~1437 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf6ba128571153b9f6bbd626a24c1f753ea1a0db;p=emacs.git (hexl-hex-char-to-integer, hexl-oct-char-to-integer): Fix error format string. --- diff --git a/lisp/hexl.el b/lisp/hexl.el index 358b1f2ff39..ae071b68859 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -584,13 +584,13 @@ You may also type up to 3 octal digits, to insert a character with that code" (let ((ch (logior character 32))) (if (and (>= ch ?a) (<= ch ?f)) (- ch (- ?a 10)) - (error (format "Invalid hex digit `%c'." ch)))))) + (error "Invalid hex digit `%c'." ch))))) (defun hexl-oct-char-to-integer (character) "Take a char and return its value as if it was a octal digit." (if (and (>= character ?0) (<= character ?7)) (- character ?0) - (error (format "Invalid octal digit `%c'." character)))) + (error "Invalid octal digit `%c'." character))) (defun hexl-printable-character (ch) "Return a displayable string for character CH."