summaryrefslogtreecommitdiff
path: root/lisp/cedet/ede.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2011-10-23 11:38:23 +0800
committerChong Yidong <cyd@gnu.org>2011-10-23 11:38:23 +0800
commit86c606818495d9411fd5d6b1477f9a097eb18020 (patch)
tree1a9cdb0e26c52d5158b27701e038d7de03c298f3 /lisp/cedet/ede.el
parent53ebff1ff05bc12b35de949801cd5a812e8c1cda (diff)
downloademacs-86c606818495d9411fd5d6b1477f9a097eb18020.tar.gz
emacs-86c606818495d9411fd5d6b1477f9a097eb18020.tar.bz2
emacs-86c606818495d9411fd5d6b1477f9a097eb18020.zip
Make vc-toggle-read-only an alias for toggle-read-only.
It hasn't worked in a VC sense since 2008-05-02T07:12:59Z!esr@snark.thyrsus.com, though this was not documented at the time (grr). * lisp/vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias for toggle-read-only. Note that this hasn't called vc-next-action since 2008-05-02, though it wasn't documented at the time. * lisp/files.el (toggle-read-only): Remove obsolete comment about version control. * doc/emacs/buffers.texi (Misc Buffer): Don't mention vc-toggle-read-only. * lisp/cedet/ede.el (ede-maybe-checkout): Function deleted; vc-toggle-read-only does not do version control now. * lisp/cedet/ede/project-am.el (project-remove-file, project-add-file) (project-new-target): Don't call ede-maybe-checkout. * lisp/cedet/ede/util.el (ede-make-buffer-writable): Don't use vc-toggle-read-only. * lisp/vc/ediff-init.el (ediff-toggle-read-only-function): Use toggle-read-only.
Diffstat (limited to 'lisp/cedet/ede.el')
-rw-r--r--lisp/cedet/ede.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el
index 2b5ca2ca3a2..14f09517b1d 100644
--- a/lisp/cedet/ede.el
+++ b/lisp/cedet/ede.el
@@ -1179,16 +1179,6 @@ See also `ede-map-subprojects'."
Return the first non-nil value returned by PROC."
(eval (cons 'or (ede-map-targets this proc))))
-;;; VC Handling
-;;
-(defun ede-maybe-checkout (&optional buffer)
- "Check BUFFER out of VC if necessary."
- (save-excursion
- (if buffer (set-buffer buffer))
- (if (and buffer-read-only vc-mode
- (y-or-n-p "Checkout Makefile.am from VC? "))
- (vc-toggle-read-only))))
-
;;; Some language specific methods.
;;