Avoid errors in winner.el's 'post-command-hook'
* lisp/winner.el (winner-save-old-configurations): Don't save configuration of dead frames. (Bug#68977)
This commit is contained in:
parent
55aea79676
commit
20f7a022f8
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,8 @@ You may want to include buffer names such as *Help*, *Apropos*,
|
|||
(setq winner-last-frames nil)
|
||||
(setq winner-last-command this-command))
|
||||
(dolist (frame winner-modified-list)
|
||||
(winner-insert-if-new frame))
|
||||
(if (frame-live-p frame)
|
||||
(winner-insert-if-new frame)))
|
||||
(setq winner-modified-list nil)
|
||||
(winner-remember)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue