diff options
| author | Stefan Monnier | 2012-08-29 11:11:51 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-08-29 11:11:51 -0400 |
| commit | 35e62fc984b108f717c5525ffecf60586eb0737e (patch) | |
| tree | fd00c70fbf024b7e5290086bcbc8a9f226a30a03 /lisp/ffap.el | |
| parent | c2c43c2382db292bfe3cccbccad4386f81f9c8a4 (diff) | |
| download | emacs-35e62fc984b108f717c5525ffecf60586eb0737e.tar.gz emacs-35e62fc984b108f717c5525ffecf60586eb0737e.zip | |
* 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 d0f3b639cf2..ebe8b6dee94 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el | |||
| @@ -1703,7 +1703,7 @@ Only intended for interactive use." | |||
| 1703 | buffer-or-list | 1703 | buffer-or-list |
| 1704 | (list buffer-or-list))) | 1704 | (list buffer-or-list))) |
| 1705 | (with-current-buffer buffer | 1705 | (with-current-buffer buffer |
| 1706 | (toggle-read-only 1)))) | 1706 | (read-only-mode 1)))) |
| 1707 | 1707 | ||
| 1708 | (defun ffap-read-only () | 1708 | (defun ffap-read-only () |
| 1709 | "Like `ffap', but mark buffer as read-only. | 1709 | "Like `ffap', but mark buffer as read-only. |