From 2160bd34a59615f3623e0dbdd284d03f95240a80 Mon Sep 17 00:00:00 2001 From: toctan Date: Thu, 10 Sep 2015 16:29:57 +0800 Subject: [PATCH] [Fix #902] Fix kill-region advice --- core/prelude-editor.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/prelude-editor.el b/core/prelude-editor.el index 8d6039d..e15b1c2 100644 --- a/core/prelude-editor.el +++ b/core/prelude-editor.el @@ -194,6 +194,7 @@ The body of the advice is in BODY." ;; note - this should be after volatile-highlights is required ;; add the ability to cut the current line, without marking it +(require 'rect) (defadvice kill-region (before smart-cut activate compile) "When called interactively with no active region, kill a single line instead." (interactive