aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-08-26 16:40:03 +0000
committerEli Zaretskii2001-08-26 16:40:03 +0000
commit165b428351b79a861c1eeed2cc6264d9141fa5a0 (patch)
treee6ff657c200f84431be8acf9ab7b3770190aa268
parent299248aa623bd357608cef44cf56728d9d37231b (diff)
downloademacs-165b428351b79a861c1eeed2cc6264d9141fa5a0.tar.gz
emacs-165b428351b79a861c1eeed2cc6264d9141fa5a0.zip
(hexl-insert-multibyte-char, hexl-insert-char): Remove
periods from the end of error message strings. From Pavel Janik <Pavel@Janik.cz>.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/hexl.el6
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 21bb10ea373..4f61cab76b4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12001-08-26 Eli Zaretskii <eliz@is.elta.co.il> 12001-08-26 Eli Zaretskii <eliz@is.elta.co.il>
2 2
3 * hexl.el (hexl-insert-multibyte-char, hexl-insert-char): Remove
4 periods from the end of error message strings. From Pavel
5 Jan,Bm(Bk <Pavel@Janik.cz>.
6
3 * progmodes/antlr-mode.el: Add Keywords header. From Pavel 7 * progmodes/antlr-mode.el: Add Keywords header. From Pavel
4 Jan,Bm(Bk <Pavel@Janik.cz>. 8 Jan,Bm(Bk <Pavel@Janik.cz>.
5 9
diff --git a/lisp/hexl.el b/lisp/hexl.el
index ca08405cd10..1f65ca8309e 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -703,7 +703,7 @@ and their encoded form is inserted byte by byte."
703 (hexl-insert-char ch num)) 703 (hexl-insert-char ch num))
704 ((eq charset 'unknown) 704 ((eq charset 'unknown)
705 (error 705 (error
706 "0x%x -- invalid character code; use \\[hexl-insert-hex-string]." 706 "0x%x -- invalid character code; use \\[hexl-insert-hex-string]"
707 ch)) 707 ch))
708 (t 708 (t
709 (let ((encoded (encode-coding-char ch coding)) 709 (let ((encoded (encode-coding-char ch coding))
@@ -723,7 +723,7 @@ and their encoded form is inserted byte by byte."
723 ch internal-hex)) 723 ch internal-hex))
724 (setq encoded internal) 724 (setq encoded internal)
725 (error 725 (error
726 "Can't encode `0x%x' with this buffer's coding system; try \\[hexl-insert-hex-string]." 726 "Can't encode `0x%x' with this buffer's coding system; try \\[hexl-insert-hex-string]"
727 ch))) 727 ch)))
728 (while (> num 0) 728 (while (> num 0)
729 (mapc 729 (mapc
@@ -744,7 +744,7 @@ and their encoded form is inserted byte by byte."
744 744
745CH must be a unibyte character whose value is between 0 and 255." 745CH must be a unibyte character whose value is between 0 and 255."
746 (if (or (< ch 0) (> ch 255)) 746 (if (or (< ch 0) (> ch 255))
747 (error "Invalid character 0x%x -- must be in the range [0..255].")) 747 (error "Invalid character 0x%x -- must be in the range [0..255]"))
748 (let ((address (hexl-current-address t))) 748 (let ((address (hexl-current-address t)))
749 (while (> num 0) 749 (while (> num 0)
750 (let ((hex-position 750 (let ((hex-position