mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
emacs: Check that the parent buffer is alive before using it.
This commit is contained in:
parent
48766fca71
commit
d268422884
1 changed files with 1 additions and 1 deletions
|
@ -1704,7 +1704,7 @@ added."
|
|||
(interactive "P")
|
||||
(let ((parent-buffer notmuch-show-parent-buffer))
|
||||
(notmuch-kill-this-buffer)
|
||||
(when parent-buffer
|
||||
(when (buffer-live-p parent-buffer)
|
||||
(switch-to-buffer parent-buffer)
|
||||
(notmuch-search-next-thread)
|
||||
(if show-next
|
||||
|
|
Loading…
Reference in a new issue