From 79cfa467d0fb1d8eff3b71bdbf5c893d53e48f51 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 27 Aug 2018 16:19:51 +0900 Subject: [PATCH] Remove unused --- emacs.el | 8 -------- 1 file changed, 8 deletions(-) diff --git a/emacs.el b/emacs.el index 76dc5cb..33a3437 100644 --- a/emacs.el +++ b/emacs.el @@ -320,13 +320,6 @@ found, otherwise returns nil." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; editting -(defun my-copy-whole-line () - "Copy whole line." - (interactive) - (kill-new (concat (buffer-substring (point-at-bol) - (point-at-eol)) - "\n"))) - (setq require-final-newline t) (setq kill-whole-line t) (setq scroll-conservatively 35 @@ -370,7 +363,6 @@ found, otherwise returns nil." (global-set-key (kbd "C-m") 'newline-and-indent) ;; (global-set-key (kbd "C-o") (kbd "C-e C-m")) -(define-key esc-map "k" 'my-copy-whole-line) ;; (global-set-key "\C-z" 'undo) ; undo is M-u (define-key esc-map "u" 'undo) (define-key esc-map "i" (kbd "ESC TAB"))