Commit 2a25f510 authored by Tim Allen's avatar Tim Allen

Turns out, you can use pretty indents in docstrings!

parent 866b8b79
......@@ -23,11 +23,13 @@ declare-option \
define-command \
-params 1 \
-docstring "state-save-reg-load <regname>
-docstring "
state-save-reg-load <regname>
Load the named register from disk.
The colon, slash, and pipe registers will merge the new contents rather than
replacing the old." \
Load the named register from disk.
The colon, slash, and pipe registers will merge the new contents rather
than replacing the old.
" \
state-save-reg-load \
%{
evaluate-commands %sh{
......@@ -41,9 +43,11 @@ replacing the old." \
define-command \
-params 1 \
-docstring "state-save-reg-save <regname>
-docstring "
state-save-reg-save <regname>
Store the named register to disk." \
Store the named register to disk.
" \
state-save-reg-save \
%{
# ...ensure the state-save directory exists
......@@ -59,11 +63,13 @@ Store the named register to disk." \
define-command \
-params 1 \
-docstring "state-save-reg-sync <regname>
-docstring "
state-save-reg-sync <regname>
Load register state from disk, then immediately save it back out.
This is only useful for registers that merge new items on load,
like the colon, slash, and pipe registers." \
Load register state from disk, then immediately save it back out.
This is only useful for registers that merge new items on load,
like the colon, slash, and pipe registers.
" \
state-save-reg-sync \
%{
state-save-reg-load %arg{1}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment