commit: Add a couple of extra docstring backslashes, #'format-time-string

Aidan Kehoe kehoea at parhasard.net
Sun Sep 5 14:23:09 EDT 2010


changeset:   5258:1ed4cefddd12
tag:         tip
user:        Aidan Kehoe <kehoea at parhasard.net>
date:        Sun Sep 05 19:22:37 2010 +0100
files:       src/ChangeLog src/editfns.c
description:
Add a couple of extra docstring backslashes, #'format-time-string

2010-09-05  Aidan Kehoe  <kehoea at parhasard.net>

	* editfns.c (Fformat_time_string):
	Use two backslashes so that there is at least one present in the
	output of describe function, when describing the Roman month
	number syntax in this function's docstring. Thanks for provoking
	me to look at this, Stephen Turnbull.


diff -r 30bf66dd3ca0 -r 1ed4cefddd12 src/ChangeLog
--- a/src/ChangeLog	Fri Sep 03 17:14:10 2010 +0100
+++ b/src/ChangeLog	Sun Sep 05 19:22:37 2010 +0100
@@ -1,3 +1,11 @@
+2010-09-05  Aidan Kehoe  <kehoea at parhasard.net>
+
+	* editfns.c (Fformat_time_string):
+	Use two backslashes so that there is at least one present in the
+	output of describe function, when describing the Roman month
+	number syntax in this function's docstring. Thanks for provoking
+	me to look at this, Stephen Turnbull.
+
 2010-09-03  Aidan Kehoe  <kehoea at parhasard.net>
 
 	* symsinit.h: Declare reinit_process_early() here, fixing the C++
diff -r 30bf66dd3ca0 -r 1ed4cefddd12 src/editfns.c
--- a/src/editfns.c	Fri Sep 03 17:14:10 2010 +0100
+++ b/src/editfns.c	Sun Sep 05 19:22:37 2010 +0100
@@ -1044,8 +1044,8 @@
 %Y is replaced by the year with century.
 %z is replaced by the time zone as a numeric offset (e.g +0530, -0800 etc.)
 %Z is replaced by the time zone abbreviation.
-%\xe6 is replaced by the month as a lowercase Roman number (i-xii)
-%\xc6 is replaced by the month as an uppercase Roman number (I-XII)
+%\\xe6 is replaced by the month as a lowercase Roman number (i-xii)
+%\\xc6 is replaced by the month as an uppercase Roman number (I-XII)
 
 The number of options reflects the `strftime' function.
 */



More information about the XEmacs-Patches mailing list