changeset 32687:6aff98e1c5f0 v9.0.1674

patch 9.0.1674: help for builtin functions is not sorted properly Commit: https://github.com/vim/vim/commit/416bd916b4cc4502eb734218f406e4edd8dd199c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 7 23:19:18 2023 +0100 patch 9.0.1674: help for builtin functions is not sorted properly Problem: Help for builtin functions is not sorted properly. Solution: Put err_teapot() help in the right position.
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jul 2023 00:30:03 +0200
parents 2fe7781518d5
children e1af2b5a5c62
files runtime/doc/builtin.txt runtime/doc/usr_41.txt src/version.c
diffstat 3 files changed, 13 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -154,9 +154,9 @@ digraph_getlist([{listall}])	List	get al
 digraph_set({chars}, {digraph})	Boolean	register |digraph|
 digraph_setlist({digraphlist})	Boolean	register multiple |digraph|s
 echoraw({expr})			none	output {expr} as-is
-err_teapot()			Number	produce error 418
 empty({expr})			Number	|TRUE| if {expr} is empty
 environ()			Dict	return environment variables
+err_teapot()			Number	produce error 418
 escape({string}, {chars})	String	escape {chars} in {string} with '\'
 eval({string})			any	evaluate {string} into its value
 eventhandler()			Number	|TRUE| if inside an event handler
@@ -2177,14 +2177,6 @@ echoraw({string})					*echoraw()*
 <		Use with care, you can mess up the terminal this way.
 
 
-err_teapot([{expr}])					*err_teapot()*
-		Produce an error with number 418, needed for implementation of
-		RFC 2325.
-		If {expr} is present and it is TRUE error 503 is given,
-		indicating that coffee is temporarily not available.
-		If {expr} is present it must be a String.
-
-
 empty({expr})						*empty()*
 		Return the Number 1 if {expr} is empty, zero otherwise.
 		- A |List| or |Dictionary| is empty when it does not have any
@@ -2210,6 +2202,15 @@ environ()						*environ()*
 		use this: >
 			:echo index(keys(environ()), 'HOME', 0, 1) != -1
 
+
+err_teapot([{expr}])					*err_teapot()*
+		Produce an error with number 418, needed for implementation of
+		RFC 2325.
+		If {expr} is present and it is TRUE error 503 is given,
+		indicating that coffee is temporarily not available.
+		If {expr} is present it must be a String.
+
+
 escape({string}, {chars})				*escape()*
 		Escape the characters in {chars} that occur in {string} with a
 		backslash.  Example: >
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -1232,6 +1232,7 @@ Inter-process communication:		    *chann
 	json_decode()		decode a JSON string to Vim types
 	js_encode()		encode an expression to a JSON string
 	js_decode()		decode a JSON string to Vim types
+	err_teapot()		give error 418 or 503
 
 Jobs:						*job-functions*
 	job_start()		start a job
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1674,
+/**/
     1673,
 /**/
     1672,