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'.
This commit is contained in:
@@ -1768,7 +1768,7 @@ will."
|
||||
;; allow C-c C-f in help buffer.
|
||||
(let ((temp-buffer-show-hook ; avoid xref stuff
|
||||
(lambda ()
|
||||
(toggle-read-only 1)
|
||||
(setq buffer-read-only t)
|
||||
(setq view-return-to-alist
|
||||
(list (cons (selected-window) help-return-method))))))
|
||||
(with-output-to-temp-buffer (help-buffer)
|
||||
|
||||
Reference in New Issue
Block a user