Commit e87a513
authored
ed: r command should not updated saved filename (briandfoy#920)
* edEdit() implements r and e, but r does not technically change the file being edited; it only adds more content to the file's buffer
* r command was updating $RememberedFilename which is undesirable
* edEdit() is too complicated, so I'd like to split it soon into 2 functions: edEdit() for e and edRead() for r (currently edRead() is a helper function calling edEdit())
* test1: open a one.c file, "r" a two.s, then verify with "f" command that the editor file is still one.c
* test1: open a one.c file, "r !ifconfig" to include command output in buffer, then verify with "f" command as before1 parent c35ac25 commit e87a513
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
| 714 | + | |
| 715 | + | |
715 | 716 | | |
716 | 717 | | |
717 | 718 | | |
| |||
0 commit comments