]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1989: Vim intro screen shows register message master v9.1.1989
authorChristian Brabandt <cb@256bit.org>
Tue, 16 Dec 2025 19:39:31 +0000 (20:39 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 16 Dec 2025 19:39:31 +0000 (20:39 +0100)
Problem:  Vim intro screen shows register message (after v9.1.1893)
Solution: Remove the register message, registering is no longer useful
          and possible.

fixes:  #18933
closes: #18934

Signed-off-by:
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/menu.vim
src/version.c

index edd628f4b4150e9778159ca407f2c98d49d47193..992839c2a304715839e2951dd3efb819ab01cff8 100644 (file)
@@ -2,7 +2,7 @@
 " You can also use this as a start for your own set of menus.
 "
 " Maintainer:  The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Aug 10
+" Last Change: 2025 Dec 15
 " Former Maintainer:   Bram Moolenaar <Bram@vim.org>
 
 " Note that ":an" (short for ":anoremenu") is often used to make a menu work
@@ -84,7 +84,7 @@ an <silent> 9999.40 &Help.&Find\.\.\. :call <SID>Helpfind()<CR>
 an 9999.45 &Help.-sep1-                        <Nop>
 an 9999.50 &Help.&Credits              :help credits<CR>
 an 9999.60 &Help.Co&pying              :help copying<CR>
-an 9999.70 &Help.&Sponsor/Register     :help sponsor<CR>
+an 9999.70 &Help.&Sponsor        :help sponsor<CR>
 an 9999.70 &Help.O&rphans              :help kcc<CR>
 an 9999.75 &Help.-sep2-                        <Nop>
 an 9999.80 &Help.&Version              :version<CR>
index 64a2cc03bd4653c16066d7dfe62c459b206cefad..1b406f8922c33e8297ed0403d203c0d73e507b14 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1989,
 /**/
     1988,
 /**/
@@ -5274,8 +5276,7 @@ intro_message(
     if (blanklines < 0)
        blanklines = 0;
 
-    // Show the sponsor and register message one out of four times, the Uganda
-    // message two out of four times.
+    // Show the sponsor and Uganda message two out of four times
     sponsor = (int)time(NULL);
     sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0);
 
@@ -5299,15 +5300,11 @@ intro_message(
            if (sponsor != 0)
            {
                if (strstr(p, "children") != NULL)
-                   p = sponsor < 0
-                       ? N_("Sponsor Vim development!")
-                       : N_("Become a registered Vim user!");
+                   p = N_("Sponsor Vim development!");
                else if (strstr(p, "Kuwasha") != NULL)
-                   p = sponsor < 0
-                       ? N_("type  :help sponsor<Enter>    for information ")
-                       : N_("type  :help register<Enter>   for information ");
+                   p = N_("type  :help sponsor<Enter>    for information ");
                else if (strstr(p, "Orphans") != NULL)
-                   p = N_("menu  Help->Sponsor/Register  for information    ");
+                   p = N_("menu  Help->Sponsor  for information    ");
            }
            if (*p != NUL)
                do_intro_line(row, (char_u *)_(p), i == 2, 0);