diff options
| author | Richard M. Stallman | 1997-06-23 02:09:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-06-23 02:09:46 +0000 |
| commit | e555bfcb7833b26b80d326365bf8e2e078d3190a (patch) | |
| tree | 916375048e79c2b4d814bb80e62fff46535893dc /lisp | |
| parent | 0a13146e0d410bb432ed3ce6595d912d094a9d2a (diff) | |
| download | emacs-e555bfcb7833b26b80d326365bf8e2e078d3190a.tar.gz emacs-e555bfcb7833b26b80d326365bf8e2e078d3190a.zip | |
(lm-version, lm-last-modified-date):
Clean up strings that looked like RCS headers.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/lisp-mnt.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/lisp-mnt.el b/lisp/emacs-lisp/lisp-mnt.el index 8a6af05993f..25ec9f62c4e 100644 --- a/lisp/emacs-lisp/lisp-mnt.el +++ b/lisp/emacs-lisp/lisp-mnt.el | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
| 6 | ;; Maintainer: Eric S. Raymond <esr@snark.thyrsus.com> | 6 | ;; Maintainer: Eric S. Raymond <esr@snark.thyrsus.com> |
| 7 | ;; Created: 14 Jul 1992 | 7 | ;; Created: 14 Jul 1992 |
| 8 | ;; Version: $Id: lisp-mnt.el,v 1.16 1996/02/06 21:35:20 erik Exp rms $ | ||
| 9 | ;; Keywords: docs | 8 | ;; Keywords: docs |
| 10 | ;; X-Bogus-Bureaucratic-Cruft: Gruad will get you if you don't watch out! | 9 | ;; X-Bogus-Bureaucratic-Cruft: Gruad will get you if you don't watch out! |
| 11 | 10 | ||
| @@ -308,7 +307,7 @@ The return value has the form (NAME . ADDRESS)." | |||
| 308 | (if (progn | 307 | (if (progn |
| 309 | (goto-char (point-min)) | 308 | (goto-char (point-min)) |
| 310 | (re-search-forward | 309 | (re-search-forward |
| 311 | "\\$Id: [^ ]+ [^ ]+ \\([^/]+\\)/\\([^/]+\\)/\\([^ ]+\\) " | 310 | "\\$[I]d: [^ ]+ [^ ]+ \\([^/]+\\)/\\([^/]+\\)/\\([^ ]+\\) " |
| 312 | (lm-code-mark) t)) | 311 | (lm-code-mark) t)) |
| 313 | (format "%s %s %s" | 312 | (format "%s %s %s" |
| 314 | (buffer-substring (match-beginning 3) (match-end 3)) | 313 | (buffer-substring (match-beginning 3) (match-end 3)) |
| @@ -335,7 +334,7 @@ This can befound in an RCS or SCCS header to crack it out of." | |||
| 335 | (goto-char (point-min)) | 334 | (goto-char (point-min)) |
| 336 | (cond | 335 | (cond |
| 337 | ;; Look for an RCS header | 336 | ;; Look for an RCS header |
| 338 | ((re-search-forward "\\$Id: [^ ]+ \\([^ ]+\\) " header-max t) | 337 | ((re-search-forward "\\$[I]d: [^ ]+ \\([^ ]+\\) " header-max t) |
| 339 | (buffer-substring (match-beginning 1) (match-end 1))) | 338 | (buffer-substring (match-beginning 1) (match-end 1))) |
| 340 | 339 | ||
| 341 | ;; Look for an SCCS header | 340 | ;; Look for an SCCS header |