From a7807b962ebf25b493b60b4bef3952a5fdbdd531 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Thu, 2 May 2019 19:55:03 +1000 Subject: [PATCH] Document the %val{error} expansion. --- doc/pages/expansions.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) 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 parameter_ + + the text of the error that cancelled execution of the parameter + (or the previous parameter) + *%val{history_id}*:: _in buffer, window scope_ + history id of the current buffer, an integer value which refers to a