diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index c4cc3019708..2a7694c3247 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -801,6 +801,7 @@ lisp_time_argument (specified_time, result) | |||
| 801 | } | 801 | } |
| 802 | } | 802 | } |
| 803 | 803 | ||
| 804 | /* | ||
| 804 | DEFUN ("format-time-string", Fformat_time_string, Sformat_time_string, 1, 3, 0, | 805 | DEFUN ("format-time-string", Fformat_time_string, Sformat_time_string, 1, 3, 0, |
| 805 | "Use FORMAT-STRING to format the time TIME, or now if omitted.\n\ | 806 | "Use FORMAT-STRING to format the time TIME, or now if omitted.\n\ |
| 806 | TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as returned by\n\ | 807 | TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as returned by\n\ |
| @@ -837,7 +838,7 @@ by text that describes the specified date and time in TIME:\n\ | |||
| 837 | \n\ | 838 | \n\ |
| 838 | Finally, %n is like \n, %t is like \t, %% is a literal %.\n\ | 839 | Finally, %n is like \n, %t is like \t, %% is a literal %.\n\ |
| 839 | \n\ | 840 | \n\ |
| 840 | Certain flags and modifiers are available with some format controls. | 841 | Certain flags and modifiers are available with some format controls.\n\ |
| 841 | The flags are `_' and `-'. For certain characters X, %_X is like %X,\n\ | 842 | The flags are `_' and `-'. For certain characters X, %_X is like %X,\n\ |
| 842 | but padded with blanks; %-X is like %X, but without padding.\n\ | 843 | but padded with blanks; %-X is like %X, but without padding.\n\ |
| 843 | %NX (where N stands for an integer) is like %X,\n\ | 844 | %NX (where N stands for an integer) is like %X,\n\ |
| @@ -847,6 +848,10 @@ The modifiers are `E' and `O'. For certain characters X,\n\ | |||
| 847 | %OX is like %X, but uses the locale's number symbols.\n\ | 848 | %OX is like %X, but uses the locale's number symbols.\n\ |
| 848 | \n\ | 849 | \n\ |
| 849 | For example, to produce full ISO 8601 format, use \"%Y-%m-%dT%T%z\".") | 850 | For example, to produce full ISO 8601 format, use \"%Y-%m-%dT%T%z\".") |
| 851 | */ | ||
| 852 | |||
| 853 | DEFUN ("format-time-string", Fformat_time_string, Sformat_time_string, 1, 3, 0, | ||
| 854 | 0 /* See immediately above */) | ||
| 850 | (format_string, time, universal) | 855 | (format_string, time, universal) |
| 851 | Lisp_Object format_string, time, universal; | 856 | Lisp_Object format_string, time, universal; |
| 852 | { | 857 | { |