From 86c606818495d9411fd5d6b1477f9a097eb18020 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 23 Oct 2011 11:38:23 +0800 Subject: 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. --- etc/NEWS | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 7b970807fe..68e5720330 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -853,7 +853,12 @@ binding `log-view-expanded-log-entry-function' to a suitable function. of a file similar to `vc-diff', but using ediff backend. +++ -*** The option vc-initial-comment was removed in Emacs 23.2, but +*** The option `vc-initial-comment' was removed in Emacs 23.2, but +this was not advertised at the time. + ++++ +*** `vc-toggle-read-only' is an obsolete alias for `toggle-read-only'. +Since Emacs 23, it has done the same thing as `toggle-read-only', but this was not advertised at the time. ** FIXME: xdg-open for browse-url and reportbug, 2010/08. -- cgit v1.2.3