[Conkeror] [PATCH] Make url_completer complete local paths as well as URLs

Nelson Elhage nelhage at MIT.EDU
Sun Mar 23 12:48:20 PDT 2008


commit 9f9bf244089cdc18e7395ce44dacd55a4d565225
Author: Nelson Elhage <nelhage at mit.edu>
Date:   Tue Mar 18 13:56:43 2008 -0400

    Make url_completer complete local paths as well as URLs

diff --git a/modules/history.js b/modules/history.js
index 54cda1c..6772b7b 100644
--- a/modules/history.js
+++ b/modules/history.js
@@ -51,6 +51,7 @@ function url_completer() {
     var use_history = arguments.$use_history;
     var use_bookmarks = arguments.$use_bookmarks;
     var completers = [];
+    completers.push(file_path_completer());
     if(use_webjumps) {
         completers.push(webjump_completer());
     }


More information about the Conkeror mailing list