Pastebin fixes
parent
6afcf0ba2f
commit
c6dea4c49d
|
@ -79,6 +79,7 @@ C: <annotation> annotation
|
|||
pastebin-pastes 2dup length swap set-paste-n push ;
|
||||
|
||||
: submit-paste ( summary author channel mode contents -- )
|
||||
2dup global [ 2array . flush ] bind
|
||||
<paste> [
|
||||
pastebin store get-persistent add-paste
|
||||
store save-store
|
||||
|
@ -100,7 +101,7 @@ C: <annotation> annotation
|
|||
\ annotate-paste {
|
||||
{ "n" v-required v-number }
|
||||
{ "summary" "- no summary -" v-default }
|
||||
{ "author" v-required }
|
||||
{ "author" "- no author -" v-default }
|
||||
{ "mode" "factor" v-default }
|
||||
{ "contents" v-required }
|
||||
} define-action
|
||||
|
|
Loading…
Reference in New Issue