Skip to content

Commit

Permalink
Resolved bug in C-p
Browse files Browse the repository at this point in the history
For marked regions the command was killing instead of copying.
  • Loading branch information
theGreatWhiteShark committed Nov 22, 2017
1 parent 934b432 commit c0fcbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning-keymap-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
(interactive)
(save-excursion
(if mark-active
(kill-region (region-beginning) (region-end))
(copy-region-as-kill (region-beginning) (region-end))
(progn
(left-word)
(mark-word)
Expand Down

0 comments on commit c0fcbd9

Please sign in to comment.