diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2012-04-19 18:50:07 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2012-04-19 18:50:07 +0200 |
commit | 376cbaccd90fe54837eb452f5d6c1cda42e0e8fc (patch) | |
tree | 9a3e9686d588842965c9440cbed91ef05a1106c1 /lisp/bs.el | |
parent | a6b92a4a56a8afec8d91882611c1e17d18d55572 (diff) | |
download | emacs-376cbaccd90fe54837eb452f5d6c1cda42e0e8fc.tar.gz |
Remove some `toggle-read-only' warnings.
* lisp/bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
* lisp/descr-text.el (describe-char):
lisp/progmodes/python.el (python-describe-symbol):
Don't call `toggle-read-only', set `buffer-read-only'.
Diffstat (limited to 'lisp/bs.el')
-rw-r--r-- | lisp/bs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/bs.el b/lisp/bs.el index 64c1183b64d..08d05a946e3 100644 --- a/lisp/bs.el +++ b/lisp/bs.el @@ -964,7 +964,7 @@ Default is `bs--current-sort-function'." Uses function `toggle-read-only'." (interactive) (with-current-buffer (bs--current-buffer) - (toggle-read-only)) + (call-interactively 'toggle-read-only)) (bs--update-current-line)) (defun bs-clear-modified () |