branch: elpa/crux commit 49dc7d7ec9d6a17d4c54b2c53fa69da5f00b1a4a Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Remove unused prefix argument from crux-smart-kill-line --- crux.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crux.el b/crux.el index f9b228c..34af61e 100644 --- a/crux.el +++ b/crux.el @@ -180,9 +180,9 @@ With a prefix ARG open line above the current line." (move-end-of-line nil) (newline-and-indent)))) -(defun crux-smart-kill-line (arg) - "Kill to the end of the line and kill whole line on the next call" - (interactive "P") +(defun crux-smart-kill-line () + "Kill to the end of the line and kill whole line on the next call." + (interactive) (let ((orig-point (point))) (move-end-of-line 1) (if (= orig-point (point))