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:
parent
7ecf49b5a5
commit
e06562ce7c
1 changed files with 2 additions and 1 deletions
|
@ -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$"))
|
||||
|
|
Loading…
Add table
Reference in a new issue