projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c39347
)
* lisp/frame.el (handle-move-frame): Fix corner case error
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 21 Jan 2023 13:49:48 +0000
(08:49 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 19 Mar 2023 18:51:27 +0000
(14:51 -0400)
lisp/frame.el
patch
|
blob
|
history
diff --git
a/lisp/frame.el
b/lisp/frame.el
index d9255a5517105ca1acbf8c0aa7aee52ded7327f6..39e8a4c88b80dc8e991b144cbfde020c4e377a5c 100644
(file)
--- a/
lisp/frame.el
+++ b/
lisp/frame.el
@@
-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))))
\f
;;;; Arrangement of frames at startup