Fix "M-x man" when there's no 'man' program on PATH

* lisp/man.el (Man-bgproc-sentinel): Make sure the process
buffer is not read-only when inserting a message into it.
(Bug#33510)
This commit is contained in:
Eli Zaretskii 2018-12-01 11:30:41 +02:00
parent 7ecf49b5a5
commit e06562ce7c

View file

@ -1378,7 +1378,8 @@ manpage command."
(with-current-buffer Man-buffer
(save-excursion
(let ((case-fold-search nil))
(let ((case-fold-search nil)
(inhibit-read-only t))
(goto-char (point-min))
(cond ((or (looking-at "No \\(manual \\)*entry for")
(looking-at "[^\n]*: nothing appropriate$"))