aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Josefsson2002-09-12 06:04:10 +0000
committerSimon Josefsson2002-09-12 06:04:10 +0000
commit7fda10ab2d24cf8f630561732ea8291ffc15a7ec (patch)
treea43ad45dc2921d0737df7a2c250f17ba45a12162
parentbf6e31bc66f2f0e1ef1bcabc496a214d863b0b24 (diff)
downloademacs-7fda10ab2d24cf8f630561732ea8291ffc15a7ec.tar.gz
emacs-7fda10ab2d24cf8f630561732ea8291ffc15a7ec.zip
(time-stamp-hhmmss): New function.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/time-stamp.el4
2 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index be21078b15d..9c346ac49a8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12002-09-12 Simon Josefsson <jas@extundo.com>
2
3 * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
4 (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
5 Use expand-file-name. Also don't require time-stamp.
6
12002-09-11 Richard M. Stallman <rms@gnu.org> 72002-09-11 Richard M. Stallman <rms@gnu.org>
2 8
3 * derived.el (define-derived-mode): When making new abbrev table, 9 * derived.el (define-derived-mode): When making new abbrev table,
@@ -42,6 +48,8 @@
42 48
432002-09-11 Simon Josefsson <jas@extundo.com> 492002-09-11 Simon Josefsson <jas@extundo.com>
44 50
51 * time-stamp.el (time-stamp-hhmmss): New function.
52
45 * gud.el (gud-gdb-massage-args): Don't secretly add -fullname. 53 * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
46 (gud-query-cmdline): Add --fullname to the user cmdline. 54 (gud-query-cmdline): Add --fullname to the user cmdline.
47 55
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index d86dd976572..8f07f714eda 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -731,6 +731,10 @@ The first character of DD is space if the value is less than 10."
731 "Return the current time as a string in \"HH:MM:SS\" form." 731 "Return the current time as a string in \"HH:MM:SS\" form."
732 (format-time-string "%T")) 732 (format-time-string "%T"))
733 733
734(defun time-stamp-hhmmss ()
735 "Return the current time as a string in \"HHMMSS\" form."
736 (format-time-string "%H%M%S"))
737
734(defun time-stamp-hhmm () 738(defun time-stamp-hhmm ()
735 "Return the current time as a string in \"HHMM\" form." 739 "Return the current time as a string in \"HHMM\" form."
736 (format-time-string "%H%M")) 740 (format-time-string "%H%M"))