]> code.delx.au - gnu-emacs/blobdiff - lisp/hexl.el
Top-level elisp files respect ‘text-quoting-style’
[gnu-emacs] / lisp / hexl.el
index 27d465926989e6f5e4e8d4ffaec076fd394c1db3..3e0ea410620c555347c05c7cd3eea7c2fed0f6eb 100644 (file)
@@ -940,8 +940,9 @@ and their encoded form is inserted byte by byte."
                     ch internal-hex))
                   (setq encoded internal)
                 (error
-                 "Can't encode `0x%x' with this buffer's coding system; try \\[hexl-insert-hex-string]"
-                 ch)))
+                 "Can't encode `0x%x' with this buffer's coding system; %s"
+                 ch
+                 (substitute-command-keys "try \\[hexl-insert-hex-string]"))))
             (while (> num 0)
               (mapc
                (function (lambda (c) (hexl-insert-char c 1))) encoded)