summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 897e6c39a..84928723e 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3530,14 +3530,6 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags, oldwin)
check_fname() == FAIL)
goto theend;
-#ifdef FEAT_QUICKFIX
- /* ":e foobar" when already editing "foobar" will reload the file.
- * But when 'buftype' is "nofile" there is no file to load, so don't
- * do anything. */
- if (curbuf->b_p_bt[0] == 'n' && curbuf->b_p_bt[2] == 'f')
- goto theend;
-#endif
-
oldbuf = (flags & ECMD_OLDBUF);
}