summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2019-05-02 19:55:03 +1000
committerTim Allen <screwtape@froup.com>2019-05-02 19:55:41 +1000
commita7807b962ebf25b493b60b4bef3952a5fdbdd531 (patch)
treecc346632cdcc9427c5a7fcc3b1491f1219248803
parent0cc89b2b9f3cdeff960bd55a865ee0f52fa98d25 (diff)
Document the %val{error} expansion.
-rw-r--r--doc/pages/expansions.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/pages/expansions.asciidoc b/doc/pages/expansions.asciidoc
index 9bdb0ee1..9f3f5f95 100644
--- a/doc/pages/expansions.asciidoc
+++ b/doc/pages/expansions.asciidoc
@@ -254,6 +254,11 @@ The following expansions are supported (with required context _in italics_):
_in window scope_ +
line of the main cursor, the third component of `%val{selection_desc}`
+*%val{error}*::
+ _in `try` command's <on_error_commands> parameter_ +
+ the text of the error that cancelled execution of the <commands> parameter
+ (or the previous <on_error_commands> parameter)
+
*%val{history_id}*::
_in buffer, window scope_ +
history id of the current buffer, an integer value which refers to a