summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-08-21 21:09:07 +0200
committerBram Moolenaar <Bram@vim.org>2018-08-21 21:09:07 +0200
commit47ad5656e1e4285a74e7e8e5d0f1f71cd554e25c (patch)
treef5cd3064f4d3dc00b73c46ba83df45c6430d9261 /runtime
parent00f123a56585363cd13f062fd3bb123efcfaa664 (diff)
patch 8.1.0314: build failure without the +eval featurev8.1.0314
Problem: Build failure without the +eval feature. (Brenton Horne) Solution: Add #ifdef. Also add the "dirty" item.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index a9d0dc0151..2e5bf7f3d1 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -8013,10 +8013,12 @@ swapinfo({fname}) swapinfo()
file
mtime last modification time in seconds
inode Optional: INODE number of the file
+ dirty 1 if file was modified, 0 if not
In case of failure an "error" item is added with the reason:
Cannot open file: file not found or in accessible
Cannot read file: cannot read first block
- magic number mismatch: info in first block is invalid
+ Not a swap file: does not contain correct block ID
+ Magic number mismatch: Info in first block is invalid
synID({lnum}, {col}, {trans}) *synID()*
The result is a Number, which is the syntax ID at the position