diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2009-06-26 23:53:55 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2009-06-26 23:53:55 +0000 |
commit | 3c3bf6ce8fb1f31177db297dc70bfae25cca552a (patch) | |
tree | b78c6c8d9914e01175254a9e9cb4be1c1fbeeddf /lisp/vc-rcs.el | |
parent | 297710942213ef3bf4a06190459bbc1fb0362ffb (diff) | |
download | emacs-3c3bf6ce8fb1f31177db297dc70bfae25cca552a.tar.gz |
Remove find-file-not-found-hook VC method. (Bug#2757)
* vc-hooks.el (vc-file-not-found-hook)
(vc-default-find-file-not-found-hook): Remove functions.
(find-file-not-found-functions): Do not add vc-file-not-found-hook.
* vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
* vc.el:
* vc-hg.el:
* vc-git.el: Do not mention find-file-not-found-hook VC method.
Diffstat (limited to 'lisp/vc-rcs.el')
-rw-r--r-- | lisp/vc-rcs.el | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el index 0a5ebe42eec..ec30ca4576c 100644 --- a/lisp/vc-rcs.el +++ b/lisp/vc-rcs.el @@ -247,14 +247,6 @@ When VERSION is given, perform check for that version." ;; The workfile is unchanged if rcsdiff found no differences. (zerop status))) -(defun vc-rcs-find-file-not-found-hook () - (if (yes-or-no-p - (format "File %s was lost; check out from version control? " - (file-name-nondirectory buffer-file-name))) - (save-excursion - (require 'vc) - (let ((default-directory (file-name-directory buffer-file-name))) - (not (vc-error-occurred (vc-checkout buffer-file-name))))))) ;;; ;;; State-changing functions |