Mercurial > emacs
changeset 6084:d42c85701055
(Buffer-menu-toggle-read-only): Change toggle-read-only to
vc-toggle-read-only.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 25 Feb 1994 01:42:03 +0000 |
parents | a8abaa9116f1 |
children | b44d5d121bc5 |
files | lisp/buff-menu.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/buff-menu.el Fri Feb 25 01:30:59 1994 +0000 +++ b/lisp/buff-menu.el Fri Feb 25 01:42:03 1994 +0000 @@ -359,12 +359,12 @@ (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)