diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-26 16:09:50 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-26 16:09:50 +1000 |
commit | 02dd867703e71304983bdc27ab92a20b23f0edf0 (patch) | |
tree | 97dd2476357a9d2529110bc367492c400bb5d785 /emacs/.emacs.d/lisp/my | |
parent | f0a1b552f8cd87912c87da4ea7194786ba73fcd8 (diff) |
minor fix of my-kill-forward
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-editing.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-editing.el b/emacs/.emacs.d/lisp/my/my-editing.el index b420d89..2bbda27 100644 --- a/emacs/.emacs.d/lisp/my/my-editing.el +++ b/emacs/.emacs.d/lisp/my/my-editing.el @@ -337,7 +337,7 @@ Basically move the line up (defun my-kill-line (&optional arg) "Calls `my-kill-forward' or `kill-line' in case of prefix arg." (interactive "P") - (if prefix-arg + (if arg (kill-line) (my-kill-forward))) |