define_global_mode now allows documentation, so provide it.

---

Showing the documentation depends on the separate patch "Documentation
for global modes."
---
 modules/hints.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/modules/hints.js b/modules/hints.js
index bcdada5..ca3a007 100644
--- a/modules/hints.js
+++ b/modules/hints.js
@@ -468,7 +468,11 @@ define_global_mode("hints_minibuffer_annotation_mode",
     },
     function disable () {
         
minibuffer_annotation_mode.unregister(hints_minibuffer_annotation_mode);
-    })                   
+    },
+    $doc = "When selecting a hint, display the URL in the minibuffer.  " +
+        "This is useful for confirming that the correct link is selected " +
+        "and that the URL is not evil.  This mode is most useful when " +
+        "hints_auto_exit_delay is long or disabled.");
 
 /**
  * keyword arguments:
-- 
1.7.9.1

_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to