summaryrefslogtreecommitdiff
path: root/lisp/gnus/format-spec.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/format-spec.el')
-rw-r--r--lisp/gnus/format-spec.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/format-spec.el b/lisp/gnus/format-spec.el
index 137603e42c9..951f9aecb81 100644
--- a/lisp/gnus/format-spec.el
+++ b/lisp/gnus/format-spec.el
@@ -49,7 +49,7 @@ the text that it generates."
(spec (string-to-char (match-string 2)))
(val (cdr (assq spec specification))))
(unless val
- (error "Invalid format character: %s" spec))
+ (error "Invalid format character: `%%%c'" spec))
;; Pad result to desired length.
(let ((text (format (concat "%" num "s") val)))
;; Insert first, to preserve text properties.