summaryrefslogtreecommitdiff
path: root/lisp/buff-menu.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-02-25 01:42:03 +0000
committerKarl Heuer <kwzh@gnu.org>1994-02-25 01:42:03 +0000
commitb263a3b739e896c4740ea94d3d835ebd634bb02c (patch)
tree8075f337328ee65c745f912c1fe133d26b2f9aab /lisp/buff-menu.el
parent2f2c482e137e3f9b46fc6a5ffaccdafed3c7b6c0 (diff)
downloademacs-b263a3b739e896c4740ea94d3d835ebd634bb02c.tar.gz
(Buffer-menu-toggle-read-only): Change toggle-read-only to
vc-toggle-read-only.
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r--lisp/buff-menu.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index 88e439a0539..a0b45bf64b9 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -359,12 +359,12 @@ The current window remains selected."
(bury-buffer menu)))
(defun Buffer-menu-toggle-read-only ()
- "Toggle read-only status of buffer on this line."
+ "Toggle read-only status of buffer on this line, perhaps via version control."
(interactive)
(let (char)
(save-excursion
(set-buffer (Buffer-menu-buffer t))
- (toggle-read-only)
+ (vc-toggle-read-only)
(setq char (if buffer-read-only ?% ? )))
(save-excursion
(beginning-of-line)