Mercurial > emacs
comparison src/editfns.c @ 6714:ce9404705b14
(Fformat): Reword confusing error message.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 07 Apr 1994 02:45:55 +0000 |
parents | d0f6a386b7cb |
children | 6e53158ad17d |
comparison
equal
deleted
inserted
replaced
6713:6a16a95e7ad9 | 6714:ce9404705b14 |
---|---|
1461 format++; | 1461 format++; |
1462 | 1462 |
1463 if (*format == '%') | 1463 if (*format == '%') |
1464 format++; | 1464 format++; |
1465 else if (++n >= nargs) | 1465 else if (++n >= nargs) |
1466 error ("format string wants too many arguments"); | 1466 error ("not enough arguments for format string"); |
1467 else if (*format == 'S') | 1467 else if (*format == 'S') |
1468 { | 1468 { |
1469 /* For `S', prin1 the argument and then treat like a string. */ | 1469 /* For `S', prin1 the argument and then treat like a string. */ |
1470 register Lisp_Object tem; | 1470 register Lisp_Object tem; |
1471 tem = Fprin1_to_string (args[n], Qnil); | 1471 tem = Fprin1_to_string (args[n], Qnil); |