]> git.eshelyaron.com Git - emacs.git/commitdiff
(hexl-insert-char): Add missing format string argument.
authorAndreas Schwab <schwab@suse.de>
Sun, 8 Feb 2004 22:36:31 +0000 (22:36 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 8 Feb 2004 22:36:31 +0000 (22:36 +0000)
lisp/hexl.el

index a4e9792dc6b87f93470cf8b5ea5dbae95c738ec6..413344fc3755aa54d34f926e159536c41191e732 100644 (file)
@@ -1,6 +1,6 @@
 ;;; hexl.el --- edit a file in a hex dump format using the hexl filter
 
-;; Copyright (C) 1989, 1994, 1998, 2001, 2002, 2003 Free Software Foundation, Inc.
+;; Copyright (C) 1989, 1994, 1998, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 ;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu>
 ;; Maintainer: FSF
@@ -742,7 +742,7 @@ and their encoded form is inserted byte by byte."
 
 CH must be a unibyte character whose value is between 0 and 255."
   (if (or (< ch 0) (> ch 255))
-      (error "Invalid character 0x%x -- must be in the range [0..255]"))
+      (error "Invalid character 0x%x -- must be in the range [0..255]" ch))
   (let ((address (hexl-current-address t)))
     (while (> num 0)
       (let ((hex-position