syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.58k stars 4.9k forks source link

Let-bind spacemacs-really-kill-emacs instead of setq-ing it #16221

Closed bcc32 closed 6 months ago

bcc32 commented 6 months ago

This prevents the bug where the user presses SPC q s, then presses C-g when prompted about unsaved buffers, and then spacemacs-really-kill-emacs is permanently set to t for the rest of the Emacs session.