Variable: time-stamp-line-limit

time-stamp-line-limit is a variable defined in time-stamp.el.gz.

Value

8

Documentation

Lines searched; positive counts from start, negative from end.

The patterns time-stamp-start and time-stamp-end must be found in the first (last) time-stamp-line-limit lines of the file for M-x time-stamp (time-stamp) to update the region between them with the current time stamp. A value of 0 searches the entire buffer (use with care).

It may be more convenient to use time-stamp-pattern if you set more than one of time-stamp-line-limit, time-stamp-start, time-stamp-end, or time-stamp-format.

These variables are best changed with file-local variables. If you were to change time-stamp-line-limit, time-stamp-start, time-stamp-end, or time-stamp-pattern in your init file, you would be incompatible with other people's files.

Probably introduced at or before Emacs version 19.16.

Source Code

;; Defined in /usr/src/emacs/lisp/time-stamp.el.gz
;;; Do not change time-stamp-line-limit, time-stamp-start,
;;; time-stamp-end, time-stamp-pattern, time-stamp-inserts-lines,
;;; or time-stamp-count in your init file or you will be incompatible
;;; with other people's files.  It is fine to change these variables
;;; in the local variables list of the file itself.


(defvar time-stamp-line-limit 8	    ;Do not change!
  "Lines searched; positive counts from start, negative from end.
The patterns `time-stamp-start' and `time-stamp-end' must be found
in the first (last) `time-stamp-line-limit' lines of the file for
\\[time-stamp] to update the region between them with the current
time stamp.  A value of 0 searches the entire buffer (use with care).

It may be more convenient to use `time-stamp-pattern' if you set more
than one of `time-stamp-line-limit', `time-stamp-start', `time-stamp-end',
or `time-stamp-format'.

These variables are best changed with file-local variables.
If you were to change `time-stamp-line-limit', `time-stamp-start',
`time-stamp-end', or `time-stamp-pattern' in your init file, you
would be incompatible with other people's files.")