emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/time-stamp.el [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/time-stamp.el [lexbind]
Date: Tue, 06 Jul 2004 07:05:47 -0400

Index: emacs/lisp/time-stamp.el
diff -c emacs/lisp/time-stamp.el:1.51.2.2 emacs/lisp/time-stamp.el:1.51.2.3
*** emacs/lisp/time-stamp.el:1.51.2.2   Tue Oct 14 23:51:26 2003
--- emacs/lisp/time-stamp.el    Tue Jul  6 10:10:47 2004
***************
*** 5,11 ****
  
  ;; This file is part of GNU Emacs.
  
! ;; Maintainer's Time-stamp: <2003-02-01 09:26:25 gildea>
  ;; Maintainer: Stephen Gildea <address@hidden>
  ;; Keywords: tools
  
--- 5,11 ----
  
  ;; This file is part of GNU Emacs.
  
! ;; Maintainer's Time-stamp: <2004-06-13 14:22:25 teirllm>
  ;; Maintainer: Stephen Gildea <address@hidden>
  ;; Keywords: tools
  
***************
*** 32,38 ****
  ;; See the top of `time-stamp.el' for another example.
  
  ;; To use time-stamping, add this line to your .emacs file:
! ;;     (add-hook 'write-file-hooks 'time-stamp)
  ;; Now any time-stamp templates in your files will be updated automatically.
  
  ;; See the documentation for the functions `time-stamp'
--- 32,38 ----
  ;; See the top of `time-stamp.el' for another example.
  
  ;; To use time-stamping, add this line to your .emacs file:
! ;;     (add-hook 'before-save-hook 'time-stamp)
  ;; Now any time-stamp templates in your files will be updated automatically.
  
  ;; See the documentation for the functions `time-stamp'
***************
*** 242,248 ****
    "Update the time stamp string(s) in the buffer.
  A template in a file can be automatically updated with a new time stamp
  every time you save the file.  Add this line to your .emacs file:
!     (add-hook 'write-file-hooks 'time-stamp)
  Normally the template must appear in the first 8 lines of a file and
  look like one of the following:
        Time-stamp: <>
--- 242,248 ----
    "Update the time stamp string(s) in the buffer.
  A template in a file can be automatically updated with a new time stamp
  every time you save the file.  Add this line to your .emacs file:
!     (add-hook 'before-save-hook 'time-stamp)
  Normally the template must appear in the first 8 lines of a file and
  look like one of the following:
        Time-stamp: <>
***************
*** 318,324 ****
        (setq start (time-stamp-once start search-limit ts-start ts-end
                                   ts-format format-lines end-lines))
        (setq ts-count (1- ts-count))))
-   ;; be sure to return nil so can be used on write-file-hooks
    nil)
  
  (defun time-stamp-once (start search-limit ts-start ts-end
--- 318,323 ----




reply via email to

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