aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEric S. Raymond2007-10-08 23:21:09 +0000
committerEric S. Raymond2007-10-08 23:21:09 +0000
commitce27c5c542cfbb7410d68345893762d454677edc (patch)
treea5cadcdfc7cca6c9818dadf7c8e23c4dd431ce49 /lisp
parent3f57aeb7d0d4acbb698ec91f292b78d9f05333da (diff)
downloademacs-ce27c5c542cfbb7410d68345893762d454677edc.tar.gz
emacs-ce27c5c542cfbb7410d68345893762d454677edc.zip
Remove unused code.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc.el20
1 files changed, 0 insertions, 20 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 9b8f5583a65..6ecbe3bb8b5 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -3119,26 +3119,6 @@ to provide the `find-version' operation instead."
3119 (and (not vc-make-backup-files) (delete-file backup-name)))))) 3119 (and (not vc-make-backup-files) (delete-file backup-name))))))
3120 (message "Checking out %s...done" file)))) 3120 (message "Checking out %s...done" file))))
3121 3121
3122(defun vc-default-wash-log (backend file)
3123 "Remove all non-comment information from log output.
3124This default implementation works for RCS logs; backends should override
3125it if their logs are not in RCS format."
3126 (let ((separator (concat "^-+\nrevision [0-9.]+\ndate: .*\n"
3127 "\\(branches: .*;\n\\)?"
3128 "\\(\\*\\*\\* empty log message \\*\\*\\*\n\\)?")))
3129 (goto-char (point-max)) (forward-line -1)
3130 (while (looking-at "=*\n")
3131 (delete-char (- (match-end 0) (match-beginning 0)))
3132 (forward-line -1))
3133 (goto-char (point-min))
3134 (if (looking-at "[\b\t\n\v\f\r ]+")
3135 (delete-char (- (match-end 0) (match-beginning 0))))
3136 (goto-char (point-min))
3137 (re-search-forward separator nil t)
3138 (delete-region (point-min) (point))
3139 (while (re-search-forward separator nil t)
3140 (delete-region (match-beginning 0) (match-end 0)))))
3141
3142(defun vc-default-revision-completion-table (backend file) nil) 3122(defun vc-default-revision-completion-table (backend file) nil)
3143 3123
3144(defun vc-check-headers () 3124(defun vc-check-headers ()