emacs/lisp/emacs-lisp
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
..
.gitignore Nuke arch-tags. 2011-01-15 15:16:57 -08:00
advice.el Update Compilation and Advice chapters in Lisp manual. 2012-02-10 23:50:11 +08:00
authors.el authors.el update for configure.ac renaming 2012-07-09 21:11:08 -04:00
autoload.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
avl-tree.el lisp/*: Add declarations, remove unused bindings, mark unused args. 2012-04-19 19:20:26 +02:00
backquote.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
benchmark.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
bindat.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
byte-opt.el Reduce use of (require 'cl). 2012-07-10 07:51:54 -04:00
byte-run.el Fix return value of `defun' and un-define it. 2012-06-18 11:57:41 -04:00
bytecomp.el Don't warn on toggle-read-only calls. 2012-07-13 15:06:09 +08:00
cconv.el Provide generalized variables in core Elisp. 2012-06-22 09:42:38 -04:00
chart.el Move define-obsolete-variable-alias before the var's definition. 2012-05-12 23:05:06 -04:00
check-declare.el Comment fix 2012-04-20 20:32:15 -04:00
checkdoc.el Add new error and function `user-error'. 2012-05-04 19:16:47 -04:00
cl-extra.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
cl-indent.el Add missing :version tags to new defgroups and defcustoms 2012-02-11 14:13:29 -08:00
cl-lib.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
cl-loaddefs.el Auto-commit of loaddefs files. 2012-07-12 06:20:34 -04:00
cl-macs.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
cl-seq.el Use lexical-binding for all of CL, and clean up its namespace. 2012-06-11 11:52:50 -04:00
cl.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
copyright.el Fix minor Y10k bugs. 2012-05-03 23:13:18 -07:00
crm.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
debug.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
derived.el Reduce use of cl in lisp/emacs-lisp/. 2012-06-10 09:28:26 -04:00
disass.el Cleanup cl-macs namespace. Add macro helpers in macroexp.el. 2012-06-07 15:25:48 -04:00
easy-mmode.el * lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): 2012-06-27 10:05:24 -04:00
easymenu.el Reduce use of cl in lisp/emacs-lisp/. 2012-06-10 09:28:26 -04:00
edebug.el * lisp/emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect 2012-06-13 11:46:29 -04:00
eieio-base.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
eieio-custom.el Don't warn on toggle-read-only calls. 2012-07-13 15:06:09 +08:00
eieio-datadebug.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
eieio-opt.el * eieio-opt.el (describe-class, describe-generic): Autoload trivia. 2012-04-16 15:25:59 -04:00
eieio-speedbar.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
eieio.el Don't warn on toggle-read-only calls. 2012-07-13 15:06:09 +08:00
eldoc.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
elint.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
elp.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ert-x.el Header comment trivial fix 2012-04-16 15:21:32 -04:00
ert.el Remove * characters from the front of variable docstrings. 2012-04-09 21:05:48 +08:00
ewoc.el Provide generalized variables in core Elisp. 2012-06-22 09:42:38 -04:00
find-func.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
find-gc.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
float-sup.el Clean up scoping rule of predefined single-word vars. 2012-06-08 09:18:26 -04:00
generic.el * lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to 2012-05-17 21:46:20 -04:00
gulp.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
gv.el * lisp/emacs-lisp/gv.el (cond): Make it a valid place. 2012-07-10 07:27:27 -04:00
helper.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
lisp-mnt.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
lisp-mode.el Get rid of all the manual purecopy calls in menu-bar definitions. 2012-06-27 17:15:13 -04:00
lisp.el `narrow-to-defun' fixup 2012-04-11 04:12:20 +02:00
macroexp.el Miscellaneous minor cleanups and simplifications. 2012-06-23 11:38:23 -04:00
map-ynp.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
package-x.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
package.el In the Package Menu, indicate packages that are newly-available. 2012-06-13 15:33:38 +08:00
pcase.el More CL cleanups and reduction of use of cl.el. 2012-07-11 19:13:41 -04:00
pp.el lisp/emacs-lisp/pp.el: Do not reimplement common macros; use `looking-at-p'. 2012-02-05 03:09:35 +01:00
re-builder.el Remove incorrect uses of "modeline". 2012-06-02 18:56:09 +08:00
regexp-opt.el Call imagemagick-register-types automatically. 2012-04-16 11:47:43 +08:00
regi.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
ring.el Fix ring extension code in ring.el, and tweak comint-input-ring handling. 2012-03-15 16:00:43 +08:00
rx.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
shadow.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
smie.el Miscellaneous minor cleanups and simplifications. 2012-06-23 11:38:23 -04:00
syntax.el Miscellaneous minor cleanups and simplifications. 2012-06-23 11:38:23 -04:00
tabulated-list.el Adapt Electric Buffer Menu to recent Buffer Menu changes. 2012-05-13 22:23:45 +08:00
tcover-ses.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
tcover-unsafep.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
testcover.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
timer.el Adapt the MS-DOS build to the latest changes. 2012-06-30 18:32:51 +03:00
tq.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
trace.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
unsafep.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
warnings.el Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00