diff src/ex_cmds.c @ 13268:50e1077e0c3d v8.0.1508

patch 8.0.1508: the :drop command is not always available commit https://github.com/vim/vim/commit/5a656864a0610547da28e0c8c1649ecd1d782948 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 12 22:08:06 2018 +0100 patch 8.0.1508: the :drop command is not always available Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/2639)
author Christian Brabandt <cb@256bit.org>
date Mon, 12 Feb 2018 22:15:05 +0100
parents ac42c4b11dbc
children 6958e700a458
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -8335,7 +8335,6 @@ ex_smile(exarg_T *eap UNUSED)
     msg_clr_eos();
 }
 
-#if defined(FEAT_GUI) || defined(FEAT_CLIENTSERVER) || defined(PROTO)
 /*
  * ":drop"
  * Opens the first argument in a window.  When there are two or more arguments
@@ -8415,7 +8414,6 @@ ex_drop(exarg_T *eap)
 	ex_rewind(eap);
     }
 }
-#endif
 
 /*
  * Skip over the pattern argument of ":vimgrep /pat/[g][j]".