emacs/lisp/vc
Chong Yidong b68b33375c Don't warn on toggle-read-only calls.
Clarify the documentation of toggle-read-only, and audit the code tree
for uses of toggle-read-only; where appropriate, switch to setting the
variable buffer-read-only or calling toggle-read-only with a (new)
second arg.

* lisp/files.el (toggle-read-only): Doc fix and code cleanup.  New arg
to allow printing the message when called from Lisp.

* lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Remove toggle-read-only.

* lisp/bindings.el (mode-line-toggle-read-only):
* lisp/dired.el (dired-toggle-read-only):
* lisp/ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
with non-nil second arg.

* lisp/bs.el (bs-toggle-readonly):
* lisp/buff-menu.el (Buffer-menu-toggle-read-only): Remove
with-no-warnings around toggle-read-only.

* lisp/ffap.el (ffap--toggle-read-only): Accept a list of buffers.
Remove with-no-warnings around toggle-read-only.
(ffap-read-only, ffap-read-only-other-window)
(ffap-read-only-other-frame): Callers changed.

* lisp/help-mode.el: Don't require view package.
(help-mode-finish): Set buffer-read-only instead of calling
toggle-read-only.

* lisp/emacs-lisp/eieio-custom.el (eieio-customize-object):
* lisp/vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
directly.

* lisp/gnus/smime.el (smime-certificate-info): Set buffer-read-only directly,
instead of calling toggle-read-only with a (bogus) argument.

* doc/emacs/buffers.texi (Misc Buffer): Document view-read-only.

* doc/lispref/buffers.texi (Read Only Buffers): Document toggle-read-only
changes.  Reword to account for the fact that read-only is currently not
supported in overlay properties.
2012-07-13 15:06:09 +08:00
..
add-log.el Remove * characters from the front of variable docstrings. 2012-04-09 21:05:48 +08:00
compare-w.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
cvs-status.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
diff-mode.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
diff.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
ediff-diff.el * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote 2012-07-03 09:42:31 +02:00
ediff-help.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ediff-hook.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ediff-init.el Use the same diff color scheme as in modern VCSes (bug#10181). 2012-05-25 03:55:40 +03:00
ediff-merg.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ediff-mult.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ediff-ptch.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ediff-util.el Standardize possessive apostrophe usage in manuals, docs, and comments 2012-02-28 00:17:21 -08:00
ediff-vers.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ediff-wind.el Remove incorrect uses of "modeline". 2012-06-02 18:56:09 +08:00
ediff.el Don't warn on toggle-read-only calls. 2012-07-13 15:06:09 +08:00
emerge.el Remove * characters from the front of variable docstrings. 2012-04-09 21:05:48 +08:00
log-edit.el Allow use of vc-root-* commands in *vc-log* buffers. 2012-07-11 12:35:13 +08:00
log-view.el Allow use of vc-root-* commands in *vc-log* buffers. 2012-07-11 12:35:13 +08:00
pcvs-defs.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
pcvs-info.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
pcvs-parse.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
pcvs-util.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
pcvs.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
smerge-mode.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
vc-annotate.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-arch.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-bzr.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-cvs.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-dav.el Header fix 2012-02-11 17:49:51 -08:00
vc-dir.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-dispatcher.el Allow use of vc-root-* commands in *vc-log* buffers. 2012-07-11 12:35:13 +08:00
vc-git.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-hg.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-hooks.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-mtn.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-rcs.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
vc-sccs.el Replace the last use of the external vcdiff script 2012-06-05 20:29:10 -04:00
vc-svn.el Add custom groups for VC backends, for consistency with vc-bzr. 2012-02-25 12:29:09 +08:00
vc.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00