Merge from origin/emacs-26

e06562c Fix "M-x man" when there's no 'man' program on PATH
This commit is contained in:
Glenn Morris 2018-12-02 10:32:24 -08:00
commit 3895e2229f

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$"))