X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/f58e0fd503567288bb30e243595acaa589034929..925baaa91d731fba2d3d9bf16c8af29735f1999c:/lisp/bs.el diff --git a/lisp/bs.el b/lisp/bs.el index 09aefee416..9c6c4efd2b 100644 --- a/lisp/bs.el +++ b/lisp/bs.el @@ -1,6 +1,6 @@ ;;; bs.el --- menu for selecting and displaying buffers -*- lexical-binding: t -*- -;; Copyright (C) 1998-2012 Free Software Foundation, Inc. +;; Copyright (C) 1998-2013 Free Software Foundation, Inc. ;; Author: Olaf Sylvester ;; Maintainer: Olaf Sylvester ;; Keywords: convenience @@ -962,7 +962,7 @@ Default is `bs--current-sort-function'." Uses function `toggle-read-only'." (interactive) (with-current-buffer (bs--current-buffer) - (call-interactively 'toggle-read-only)) + (read-only-mode 'toggle)) (bs--update-current-line)) (defun bs-clear-modified ()