mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; * lisp/doc-view.el (doc-view-initiate-display): Improve last commit
This commit is contained in:
parent
be4be3eb09
commit
ba1453cf61
1 changed files with 2 additions and 4 deletions
|
|
@ -2146,10 +2146,8 @@ If FILE-NAME is nil, use the current file instead."
|
|||
;; Inhibit the echo area display of the "Type C-c C-c..." message
|
||||
;; if the doc-view buffer is not shown in the selected window
|
||||
;; which can happen due to auto-reverting the buffer (bug#79145).
|
||||
(let ((inhibit-message
|
||||
(not (eq (selected-window)
|
||||
(get-buffer-window (current-buffer)
|
||||
(selected-frame))))))
|
||||
(let ((inhibit-message (not (eq (current-buffer)
|
||||
(window-buffer)))))
|
||||
(doc-view-buffer-message)
|
||||
(setf (doc-view-current-page) (or (doc-view-current-page) 1))
|
||||
(if (doc-view-already-converted-p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue