diff options
| author | Paul Eggert | 2015-05-30 15:29:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-05-30 15:30:47 -0700 |
| commit | d90a3b186d57ac700a32988b720f76f289740ece (patch) | |
| tree | ca4a9bef4c9ba6bc7f03d02766d1c09247763994 /src/editfns.c | |
| parent | 75f8653bfe0da39acca9dbcb8b021ad033ac6ae9 (diff) | |
| download | emacs-d90a3b186d57ac700a32988b720f76f289740ece.tar.gz emacs-d90a3b186d57ac700a32988b720f76f289740ece.zip | |
Remove format2
* src/editfns.c, src/lisp.h (format2): Remove.
It is more trouble than it's worth, now that we have CALLN.
This is just a minor refactoring.
* src/buffer.c (Fkill_buffer):
* src/dbusbind.c (XD_OBJECT_TO_STRING):
* src/fileio.c (barf_or_query_if_file_exists):
Adjust to format2 going away.
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/editfns.c b/src/editfns.c index cddb0d4eae6..c387dc78c7d 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -4500,13 +4500,6 @@ usage: (format STRING &rest OBJECTS) */) | |||
| 4500 | 4500 | ||
| 4501 | return val; | 4501 | return val; |
| 4502 | } | 4502 | } |
| 4503 | |||
| 4504 | Lisp_Object | ||
| 4505 | format2 (const char *string1, Lisp_Object arg0, Lisp_Object arg1) | ||
| 4506 | { | ||
| 4507 | AUTO_STRING (format, string1); | ||
| 4508 | return CALLN (Fformat, format, arg0, arg1); | ||
| 4509 | } | ||
| 4510 | 4503 | ||
| 4511 | DEFUN ("char-equal", Fchar_equal, Schar_equal, 2, 2, 0, | 4504 | DEFUN ("char-equal", Fchar_equal, Schar_equal, 2, 2, 0, |
| 4512 | doc: /* Return t if two characters match, optionally ignoring case. | 4505 | doc: /* Return t if two characters match, optionally ignoring case. |