projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd1aa7b
)
Work around issue with (setq Man-notify-method 'aggressive)
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 4 Apr 2021 19:35:56 +0000
(21:35 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 4 Apr 2021 19:36:15 +0000
(21:36 +0200)
* lisp/man.el (Man-bgproc-sentinel): Check that the window still
exists before trying to select it (bug#38164).
lisp/man.el
patch
|
blob
|
history
diff --git
a/lisp/man.el
b/lisp/man.el
index abb9bbad8fd9df62e9cf153f9976b8c46cd5f40a..9b941a2b3d2d89690ef675afade879165fe41223 100644
(file)
--- a/
lisp/man.el
+++ b/
lisp/man.el
@@
-1503,7
+1503,9
@@
manpage command."
(quit-restore-window
(get-buffer-window Man-buffer t) 'kill)
;; Ensure that we end up in the correct window.
- (select-window (old-selected-window)))
+ (let ((old-window (old-selected-window)))
+ (when (window-live-p old-window)
+ (select-window old-window))))
(kill-buffer Man-buffer)))
(when message