forked from Github/emacs
* lisp/frame.el (handle-move-frame): Fix corner case error
This commit is contained in:
parent
1c39347d58
commit
de81349bd8
1 changed files with 2 additions and 1 deletions
|
|
@ -239,7 +239,8 @@ that's not the whole story: see `after-focus-change-function'."
|
|||
This function runs the abnormal hook `move-frame-functions'."
|
||||
(interactive "e")
|
||||
(let ((frame (posn-window (event-start event))))
|
||||
(run-hook-with-args 'move-frame-functions frame)))
|
||||
(when (frame-live-p frame) ;Experience shows it can die in the meantime.
|
||||
(run-hook-with-args 'move-frame-functions frame))))
|
||||
|
||||
;;;; Arrangement of frames at startup
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue