summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
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