diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-08-29 11:11:51 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-08-29 11:11:51 -0400 |
commit | 35e62fc984b108f717c5525ffecf60586eb0737e (patch) | |
tree | fd00c70fbf024b7e5290086bcbc8a9f226a30a03 /lisp/ffap.el | |
parent | c2c43c2382db292bfe3cccbccad4386f81f9c8a4 (diff) |
* lisp/files.el (read-only-mode): New minor mode.
(toggle-read-only): Use it and mark obsolete.
(find-file--read-only):
* lisp/vc/vc.el (vc-next-action, vc-checkout):
* lisp/vc/vc-cvs.el (vc-cvs-checkout):
* lisp/obsolete/vc-mcvs.el (vc-mcvs-update):
* lisp/ffap.el (ffap--toggle-read-only): Update callers.
Diffstat (limited to 'lisp/ffap.el')
-rw-r--r-- | lisp/ffap.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el index d0f3b639cf..ebe8b6dee9 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -1703,7 +1703,7 @@ Only intended for interactive use." buffer-or-list (list buffer-or-list))) (with-current-buffer buffer - (toggle-read-only 1)))) + (read-only-mode 1)))) (defun ffap-read-only () "Like `ffap', but mark buffer as read-only. |