[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 e06562c: Fix "M-x man" when there's no 'man' prog
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 e06562c: Fix "M-x man" when there's no 'man' program on PATH |
Date: |
Sat, 1 Dec 2018 04:31:19 -0500 (EST) |
branch: emacs-26
commit e06562ce7c164fd1f1b93154e34e6edab004719b
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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)
---
lisp/man.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/man.el b/lisp/man.el
index c62a61c..3a5fd5d 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -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$"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 e06562c: Fix "M-x man" when there's no 'man' program on PATH,
Eli Zaretskii <=