mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 01:04:10 +08:00
fixup! Add concept of edit groups
Correctly call begin/end-undo-group in fish_clipboard_paste
This commit is contained in:
parent
b5523dbd64
commit
aaaf74cd5b
@ -40,8 +40,8 @@ function fish_clipboard_paste
|
||||
end
|
||||
|
||||
if test -n "$data"
|
||||
begin-undo-group
|
||||
commandline -f begin-undo-group
|
||||
commandline -i -- $data
|
||||
end-undo-group
|
||||
commandline -f end-undo-group
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user