diff runtime/doc/eval.txt @ 14601:d0ff19a55579 v8.1.0314

patch 8.1.0314: build failure without the +eval feature commit https://github.com/vim/vim/commit/47ad5656e1e4285a74e7e8e5d0f1f71cd554e25c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 21 21:09:07 2018 +0200 patch 8.1.0314: build failure without the +eval feature Problem: Build failure without the +eval feature. (Brenton Horne) Solution: Add #ifdef. Also add the "dirty" item.
author Christian Brabandt <cb@256bit.org>
date Tue, 21 Aug 2018 21:15:06 +0200
parents 72d6f6f7ead7
children 0ecb909e3249
line wrap: on
line diff
--- 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