I recently used a package that overwrote
C-x C-s to something other than
save, causing me to lose a lot of work. Is there a way I can advise emacs to check for a blacklist of keybindings that it shouldn’t allow to be remapped?
The package in question is (the otherwise excellent)
atomic-chrome, and this looks to be the offending line:
(defvar atomic-chrome-edit-mode-map (let ((map (make-sparse-keymap))) (define-key map (kbd "C-x C-s") 'atomic-chrome-send-buffer-text) (define-key map (kbd "C-c C-c") 'atomic-chrome-close-current-buffer) map) "Keymap for minor mode `atomic-chrome-edit-mode'.")