Charles wrote:
> Netrw's code is doing a save&restore with @* and @+. Without it
> something (not explicit) modifies those registers. Perhaps a save is
> missing...
Since it's possible the restore drops information (e.g., whether the
operation was blockwise), perhaps it should only happen when the
registers are actually changed? Thus:
{save registers}
- do stuff
if {changing @* or @+}
let need_restore = 1
endif
- do stuff
if need_restore
{restore registers}
endif
--
A vacation is a period of travel during which you find that you
took twice as many clothes and half as much money as you needed.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201909242108.x8OL80sj024726%40masaka.moolenaar.net.