patch 8.2.1540: the user cannot try out emoji character widths
Problem: The user cannot try out emoji character widths.
Solution: Move the emoji script to the runtime/tools directory.
diff --git a/src/testdir/emoji_list.vim b/src/testdir/emoji_list.vim
deleted file mode 100644
index e6a73c3..0000000
--- a/src/testdir/emoji_list.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-" Script to fill the window with emoji characters, one per line.
-
-if &modified
- new
-else
- enew
-endif
-
-" Use a compiled Vim9 function for speed
-def DoIt()
- let lnum = 1
- for c in range(0x100, 0x1ffff)
- let cs = nr2char(c)
- if charclass(cs) == 3
- setline(lnum, '|' .. cs .. '| ' .. strwidth(cs))
- lnum += 1
- endif
- endfor
-enddef
-
-call DoIt()
-set nomodified
diff --git a/src/version.c b/src/version.c
index ba308cd..cd341e2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1540,
+/**/
1539,
/**/
1538,