emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog time-stamp.el


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp ChangeLog time-stamp.el
Date: Sat, 19 Sep 2009 19:43:40 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/09/19 19:43:40

Modified files:
        lisp           : ChangeLog time-stamp.el 

Log message:
        * time-stamp.el (time-stamp-month-dd-yyyy)
        (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
        (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
        (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
        (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm): Remove
        functions that have been obsolete since 1995 (Bug#4436).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16211&r2=1.16212
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/time-stamp.el?cvsroot=emacs&r1=1.73&r2=1.74

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16211
retrieving revision 1.16212
diff -u -b -r1.16211 -r1.16212
--- ChangeLog   19 Sep 2009 19:35:15 -0000      1.16211
+++ ChangeLog   19 Sep 2009 19:43:37 -0000      1.16212
@@ -1,5 +1,12 @@
 2009-09-19  Chong Yidong  <address@hidden>
 
+       * time-stamp.el (time-stamp-month-dd-yyyy)
+       (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
+       (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
+       (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
+       (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm): Remove
+       functions that have been obsolete since 1995 (Bug#4436).
+
        * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
        indent buffer only if called interactively (Bug#4452).
 

Index: time-stamp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/time-stamp.el,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- time-stamp.el       5 Jan 2009 03:19:49 -0000       1.73
+++ time-stamp.el       19 Sep 2009 19:43:40 -0000      1.74
@@ -705,73 +705,6 @@
       (setq list (cdr list)))
     return-string))
 
-;;; Some functions used in time-stamp-format
-
-;;; These functions have been obsolete since 1995
-;;; and will be removed in Emacs 23.
-;;; Meanwhile, discourage other packages from using them.
-(dolist (function '(time-stamp-month-dd-yyyy time-stamp-dd/mm/yyyy
-                   time-stamp-mon-dd-yyyy   time-stamp-dd-mon-yy
-                   time-stamp-yy/mm/dd      time-stamp-yyyy/mm/dd
-                   time-stamp-yyyy-mm-dd    time-stamp-yymmdd
-                   time-stamp-hh:mm:ss      time-stamp-hhmm))
-  (make-obsolete function
-                "use `time-stamp-string' or `format-time-string' instead."
-                "20.1"))
-
-;;; pretty form, suitable for a title page
-
-(defun time-stamp-month-dd-yyyy ()
-  "Return the current date as a string in \"Month DD, YYYY\" form."
-  (format-time-string "%B %e, %Y"))
-
-(defun time-stamp-dd/mm/yyyy ()
-  "Return the current date as a string in \"DD/MM/YYYY\" form."
-  (format-time-string "%d/%m/%Y"))
-
-;;; same as __DATE__ in ANSI C
-
-(defun time-stamp-mon-dd-yyyy ()
-  "Return the current date as a string in \"Mon DD YYYY\" form.
-The first character of DD is space if the value is less than 10."
-  (format-time-string "%b %d %Y"))
-
-;;; RFC 822 date
-
-(defun time-stamp-dd-mon-yy ()
-  "Return the current date as a string in \"DD Mon YY\" form."
-  (format-time-string "%d %b %y"))
-
-;;; RCS 3 date
-
-(defun time-stamp-yy/mm/dd ()
-  "Return the current date as a string in \"YY/MM/DD\" form."
-  (format-time-string "%y/%m/%d"))
-
-;;; RCS 5 date
-
-(defun time-stamp-yyyy/mm/dd ()
-  "Return the current date as a string in \"YYYY/MM/DD\" form."
-  (format-time-string "%Y/%m/%d"))
-
-;;; ISO 8601 date
-
-(defun time-stamp-yyyy-mm-dd ()
-  "Return the current date as a string in \"YYYY-MM-DD\" form."
-  (format-time-string "%Y-%m-%d"))
-
-(defun time-stamp-yymmdd ()
-  "Return the current date as a string in \"YYMMDD\" form."
-  (format-time-string "%y%m%d"))
-
-(defun time-stamp-hh:mm:ss ()
-  "Return the current time as a string in \"HH:MM:SS\" form."
-  (format-time-string "%T"))
-
-(defun time-stamp-hhmm ()
-  "Return the current time as a string in \"HHMM\" form."
-  (format-time-string "%H%M"))
-
 (provide 'time-stamp)
 
 ;; arch-tag: 8a12c5c3-25d6-4a71-adc5-24b0e025a1e7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]