summaryrefslogtreecommitdiff
path: root/lisp/cedet/ede/util.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/ede/util.el')
-rw-r--r--lisp/cedet/ede/util.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/cedet/ede/util.el b/lisp/cedet/ede/util.el
index fc4536ba88a..053180d4a8b 100644
--- a/lisp/cedet/ede/util.el
+++ b/lisp/cedet/ede/util.el
@@ -87,12 +87,7 @@ their sources to VERSION."
If BUFFER isn't specified, use the current buffer."
(save-excursion
(if buffer (set-buffer buffer))
- (if buffer-read-only
- (if (and vc-mode
- (y-or-n-p (format "Check out %s? " (buffer-file-name))))
- (vc-toggle-read-only)
- (if (not vc-mode)
- (toggle-read-only -1))))))
+ (toggle-read-only -1)))
(provide 'ede/util)