aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-04 00:35:52 +0200
committerGravatar Tom Willemse2013-06-04 01:12:13 +0200
commit9e6199a5aa54b8ef2af1999981cafa0becb3049e (patch)
tree3fa7f08236f670eb048e59f291388b55eebe0ed7 /doc
parent9badf67e274837d0e8a1af5554717dc94fa8bbcf (diff)
downloadclark-9e6199a5aa54b8ef2af1999981cafa0becb3049e.tar.gz
clark-9e6199a5aa54b8ef2af1999981cafa0becb3049e.zip
Add random command
This command simply prints a random URL. A tag may be specified to limit the search to that tag. In the Conkeror module this command immediately loads the random bookmark in the current buffer. - js/clark.js: If `error' is empty, return the value of `data'. This makes it easier for some commands to use the result of the command. Add `clark-random' to `clark_keymap'.
Diffstat (limited to 'doc')
-rw-r--r--doc/clark.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/clark.texi b/doc/clark.texi
index f0ba70b..69f1ba5 100644
--- a/doc/clark.texi
+++ b/doc/clark.texi
@@ -118,6 +118,12 @@ as when no commands are given, but filtered by either of these
conditions.
@end deffn
+@deffn Command random [TAG]
+Look through the database for a random bookmark. If @var{tag} is
+specified, limit the results to bookmarks having the given tag. Simply
+prints the url of the selected bookmark.
+@end deffn
+
@node Management, Miscellaneous, Querying, Usage
@section Maintaining bookmarks in the database.