summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2026-01-16 22:16:48 -0800
committerThomas Ulmer <thomasmulmer02@gmail.com>2026-01-16 22:16:48 -0800
commitb221bf020529fe561c27f76068aae10b8cc3f906 (patch)
tree0ac17d6802c2d50a1e810935761401fd9a73c9db /emacs/init.el
parenta39f0291ca6cd04a8128825f6b068f177694f8cb (diff)
emacs: remove useless exit bind
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 2f44b30..5c8aa17 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -148,11 +148,6 @@ With prefix ARG do ARG number sexps if given, including backwards."
(insert-pair arg ?\( ?\)))
(insert-pair 1 ?\( ?\))))
-(defun my/close-or-kill ()
- "If this is the only frame, kill Emacs. Otherwise close the frame."
- (interactive)
- (save-buffers-kill-terminal))
-
(defun my/toggle-window-other-reachability ()
"Toggle whether this window can be selected by `other-window'."
(interactive)
@@ -295,8 +290,6 @@ With ARG, don't save the current layout."
(add-to-list 'emulation-mode-map-alists
'((my/keys-mode . my/keys-keymap)))
- (keymap-set my/keys-mode-map "C-x C-C" 'save-buffers-kill-terminal)
- (keymap-set my/keys-mode-map "C-x C-c" 'my/close-or-kill)
(keymap-set my/keys-mode-map "C-x -" 'my/swap-other-window-buffer)
(keymap-set my/keys-mode-map "C-x w o" 'my/toggle-window-other-reachability)
(keymap-set my/keys-mode-map "M-w" 'copy-region-as-kill) ; make copying not flash cursor