aboutsummaryrefslogtreecommitdiffstats
path: root/powwow.help
diff options
context:
space:
mode:
authorGustav HÃ¥llberg <gustav@gmail.com>2009-01-16 23:48:31 (GMT)
committerGustav HÃ¥llberg <gustav@gmail.com>2009-01-16 23:55:40 (GMT)
commit2a5b0cabaa1b2aba86e466cdc25486fa4c86e6cd (patch)
treeabf7e9f06878f125535f7d6c37864f10949bf123 /powwow.help
parentb56e2c86f181c9b1d117c7cbff194130f730cb6f (diff)
downloadpowwow-2a5b0cabaa1b2aba86e466cdc25486fa4c86e6cd.zip
powwow-2a5b0cabaa1b2aba86e466cdc25486fa4c86e6cd.tar.gz
powwow-2a5b0cabaa1b2aba86e466cdc25486fa4c86e6cd.tar.bz2
added #addstatic command
Replaced old WORD_RETAIN function with separate, static list of words.
Diffstat (limited to 'powwow.help')
-rw-r--r--powwow.help19
1 files changed, 19 insertions, 0 deletions
diff --git a/powwow.help b/powwow.help
index 5381235..82c7399 100644
--- a/powwow.help
+++ b/powwow.help
@@ -297,6 +297,25 @@ expression) to the word completion list. Example:
#action >reply ^$1 tells you={#print;#add $1}
(from now on, you can use TAB to complete that name)
+@addstatic
+#addstatic {text|(expression)}
+
+Add the text or result of expression (calculator is used to evaluate the
+expression) to the static word completion list. Example:
+
+#addstatic Tintin Milou (from now on you can always use Tab to complete
+ these two names)
+
+Note that the static list is not saved when you run #save, and its
+words will never be overwritten as new words are added.
+
+It is best used from your #init command, for example:
+
+#init ={#identify;#exe <static-completions}
+
+If the 'static-completions' file contains a number of #addstatic
+commands, all those words will always be possible to Tab-complete on.
+
@option
#option [+-=]<option> | list