]> git.eshelyaron.com Git - emacs.git/commit
; Remove dead code from 'server-stop-automatically--handle-delete-frame'
authorJim Porter <jporterbugs@gmail.com>
Fri, 2 Dec 2022 20:15:46 +0000 (12:15 -0800)
committerJim Porter <jporterbugs@gmail.com>
Tue, 6 Dec 2022 22:11:10 +0000 (14:11 -0800)
commitbcf4d96db3a61e0d02a584fa9fceb049cdad6fe8
tree64b070bd7f4c8769c875982d457dc7e725ee4831
parent80df980e4100297942775eae4f89c5ccabe03afc
; Remove dead code from 'server-stop-automatically--handle-delete-frame'

* lisp/server.el (server-stop-automatically--handle-delete-frame):
Since 'this-command' is never 'save-buffers-kill-terminal' in this
function, we can remove the second 'if' block and it's then-form,
leaving only the else-form.  Additionally, remove the 'delete-frame'
call; it's not necessary, since we just killed Emacs on the prior
line.
lisp/server.el