]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0125: :mode no longer works for any system v8.2.0125
authorBram Moolenaar <Bram@vim.org>
Fri, 17 Jan 2020 18:32:20 +0000 (19:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 17 Jan 2020 18:32:20 +0000 (19:32 +0100)
Problem:    :mode no longer works for any system.
Solution:   Always give an error message.

src/ex_docmd.c
src/os_amiga.c
src/os_mswin.c
src/os_unix.c
src/proto/os_amiga.pro
src/proto/os_mswin.pro
src/proto/os_unix.pro
src/version.c

index e11ad08d43132828e76dfb793b1965bcad2e64b2..78aee97992b1b50da920f9106d28498c7faf980c 100644 (file)
@@ -5927,7 +5927,7 @@ ex_mode(exarg_T *eap)
     if (*eap->arg == NUL)
        shell_resized();
     else
-       mch_screenmode(eap->arg);
+       emsg(_(e_screenmode));
 }
 
 /*
index 4cf39e15d1686596f47f2ded87650d271b08f204..1e3fd4b2017da7f2833b0160ff21d8aad0007612 100644 (file)
@@ -988,16 +988,6 @@ mch_settmode(int tmode)
        mch_errmsg(_("cannot change console mode ?!\n"));
 }
 
-/*
- * set screen mode, always fails.
- */
-    int
-mch_screenmode(char_u *arg)
-{
-    emsg(_(e_screenmode));
-    return FAIL;
-}
-
 /*
  * Code for this routine came from the following :
  *
index c7cfd27613570eca721e68400506e449e38dbebc..faa4c99dbde0d4498ac021876b2a14f2d8e83ba2 100644 (file)
@@ -742,17 +742,6 @@ mch_check_messages(void)
 #endif
 
 
-/*
- * set screen mode, always fails.
- */
-    int
-mch_screenmode(char_u *arg UNUSED)
-{
-    emsg(_(e_screenmode));
-    return FAIL;
-}
-
-
 #if defined(FEAT_LIBCALL) || defined(PROTO)
 /*
  * Call a DLL routine which takes either a string or int param
index 7e7820934b0c391544ef33d644309299f60ccc31..5f2ece3dd8eed8676bd2f388d31707f8e09b7572 100644 (file)
@@ -3937,16 +3937,6 @@ check_mouse_termcode(void)
     }
 }
 
-/*
- * set screen mode, always fails.
- */
-    int
-mch_screenmode(char_u *arg UNUSED)
-{
-    emsg(_(e_screenmode));
-    return FAIL;
-}
-
 #ifndef VMS
 
 /*
index 7aaf1719fefea820e43c44174d9d6f6a45dae1bd..8e12f4da2892e50f116823b6a82f0f35ac9c61bb 100644 (file)
@@ -32,7 +32,6 @@ int mch_nodetype(char_u *name);
 void mch_early_init(void);
 void mch_exit(int r);
 void mch_settmode(int tmode);
-int mch_screenmode(char_u *arg);
 int mch_get_shellsize(void);
 void mch_set_shellsize(void);
 void mch_new_shellsize(void);
index 6cc8a5d925f0e4fc33951d1be330ef4a9c01f1b4..ade7cc25560d3000c262c3de47c95e5ec57cdb7d 100644 (file)
@@ -19,7 +19,6 @@ void display_errors(void);
 int mch_has_exp_wildcard(char_u *p);
 int mch_has_wildcard(char_u *p);
 int mch_chdir(char *path);
-int mch_screenmode(char_u *arg);
 int mch_icon_load(HANDLE *iconp);
 int mch_libcall(char_u *libname, char_u *funcname, char_u *argstring, int argint, char_u **string_result, int *number_result);
 void DumpPutS(const char *psz);
index 14cde4a1356674c4a665050867f66602c4ff813f..b9db0fc56f63600d56368149a07354a75a68b131 100644 (file)
@@ -54,7 +54,6 @@ int get_tty_info(int fd, ttyinfo_T *info);
 void mch_setmouse(int on);
 void mch_bevalterm_changed(void);
 void check_mouse_termcode(void);
-int mch_screenmode(char_u *arg);
 int mch_get_shellsize(void);
 int mch_report_winsize(int fd, int rows, int cols);
 void mch_set_shellsize(void);
index a32231b32426b11655f89cfdfc521fb0db932358..1ed040d3280ccea6323a5741f70b96ef1d1e1910 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    125,
 /**/
     124,
 /**/