diff src/ex_cmds.c @ 6539:6da912e32896 v7.4.596

updated for version 7.4.596 Problem: Tiny build doesn't compile. (Ike Devolder) Solution: Add #ifdef.
author Bram Moolenaar <bram@vim.org>
date Tue, 27 Jan 2015 13:33:23 +0100
parents 005a6b650866
children cd7b5bbe4952
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3530,11 +3530,13 @@ do_ecmd(fnum, ffname, sfname, eap, newln
 		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);
     }