aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-01-18 11:29:00 -0500
committerChong Yidong2010-01-18 11:29:00 -0500
commit244b023e520f102619156e93be9cd7424fe7d6a0 (patch)
tree05de920a6d4109d139c7108d5a613618d022ada2
parent07e606735e20e41eea60ab07905922e4445cff3f (diff)
downloademacs-244b023e520f102619156e93be9cd7424fe7d6a0.tar.gz
emacs-244b023e520f102619156e93be9cd7424fe7d6a0.zip
Doc fix for current-time-string and date-to-time (Bug#5408)
* src/editfns.c (Fcurrent_time_string): Doc fix. * lisp/calendar/time-date.el (date-to-time): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/calendar/time-date.el3
-rw-r--r--src/ChangeLog4
-rw-r--r--src/editfns.c2
4 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d9f3648425b..105f6b05263 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-01-18 Chong Yidong <cyd@stupidchicken.com>
2
3 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
4
12010-01-18 Juanma Barranquero <lekktu@gmail.com> 52010-01-18 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * cedet/ede/locate.el (ede-locate-file-in-project) 7 * cedet/ede/locate.el (ede-locate-file-in-project)
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
index 3b4495881f6..914d2d33928 100644
--- a/lisp/calendar/time-date.el
+++ b/lisp/calendar/time-date.el
@@ -98,7 +98,8 @@ and type 2 is the list (HIGH LOW MICRO)."
98 98
99;;;###autoload 99;;;###autoload
100(defun date-to-time (date) 100(defun date-to-time (date)
101 "Parse a string DATE that represents a date-time and return a time value." 101 "Parse a string DATE that represents a date-time and return a time value.
102If DATE lacks timezone information, GMT is assumed."
102 (condition-case () 103 (condition-case ()
103 (apply 'encode-time 104 (apply 'encode-time
104 (parse-time-string 105 (parse-time-string
diff --git a/src/ChangeLog b/src/ChangeLog
index e1d2ba440ab..190e35d923f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-01-18 Chong Yidong <cyd@stupidchicken.com>
2
3 * editfns.c (Fcurrent_time_string): Doc fix (Bug#5408).
4
12010-01-16 Stefan Monnier <monnier@iro.umontreal.ca> 52010-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * xterm.c (event_handler_gdk): Block input (Bug#5037). 7 * xterm.c (event_handler_gdk): Block input (Bug#5037).
diff --git a/src/editfns.c b/src/editfns.c
index 00ac0ca0fa9..093f141bff2 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1897,7 +1897,7 @@ usage: (encode-time SECOND MINUTE HOUR DAY MONTH YEAR &optional ZONE) */)
1897} 1897}
1898 1898
1899DEFUN ("current-time-string", Fcurrent_time_string, Scurrent_time_string, 0, 1, 0, 1899DEFUN ("current-time-string", Fcurrent_time_string, Scurrent_time_string, 0, 1, 0,
1900 doc: /* Return the current time, as a human-readable string. 1900 doc: /* Return the current local time, as a human-readable string.
1901Programs can use this function to decode a time, 1901Programs can use this function to decode a time,
1902since the number of columns in each field is fixed 1902since the number of columns in each field is fixed
1903if the year is in the range 1000-9999. 1903if the year is in the range 1000-9999.