Merge pull request #401 from dillonkearns/fix-kill-whole-line-arg

Fix bug in prelude-kill-whole-line with prefix argument
This commit is contained in:
Bozhidar Batsov 2013-10-03 08:31:30 -07:00
commit 6ebe644b1f

View file

@ -126,7 +126,7 @@ With a prefix ARG open line above the current line."
(defun prelude-kill-whole-line (&optional arg) (defun prelude-kill-whole-line (&optional arg)
"A simple wrapper around command `kill-whole-line' that respects indentation. "A simple wrapper around command `kill-whole-line' that respects indentation.
Passes ARG to command `kill-whole-line' when provided." Passes ARG to command `kill-whole-line' when provided."
(interactive "P") (interactive "p")
(kill-whole-line arg) (kill-whole-line arg)
(back-to-indentation)) (back-to-indentation))