summaryrefslogtreecommitdiffstats
path: root/runtime/doc/cmdline.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-27 10:57:26 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-27 10:57:26 +0000
commit6304be625ce44dcfedc6735164d0b853578581c8 (patch)
treedb8bb5f50af170304917f08bbc78236cfe354bed /runtime/doc/cmdline.txt
parent7824fc80f675b8098e6483ce082e287aad14b6da (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/cmdline.txt')
-rw-r--r--runtime/doc/cmdline.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index bf61024875..eca741f753 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -1,4 +1,4 @@
-*cmdline.txt* For Vim version 8.2. Last change: 2021 Aug 06
+*cmdline.txt* For Vim version 8.2. Last change: 2021 Nov 22
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -925,9 +925,11 @@ Note: these are typed literally, they are not special keys!
*:<sfile>* *<sfile>*
<sfile> When executing a ":source" command, is replaced with the
file name of the sourced file. *E498*
- When executing a function, is replaced with the call stack,
- as with <stack> (this is for backwards compatibility, using
- <stack> is preferred).
+ When executing a legacy function, is replaced with the call
+ stack, as with <stack> (this is for backwards
+ compatibility, using <stack> is preferred).
+ In Vim9 script using <sfile> in a function gives error
+ *E1245* .
Note that filename-modifiers are useless when <sfile> is
not used inside a script.
*:<stack>* *<stack>*