« Return to Thread: [PATCH] Add TAGS to .gitignore

[PATCH] Fix editing source from help buffer.

by David Kettler-2 :: Rate this Message:

Reply to Author | View in Thread

This was probably broken by commit 6c90a66 (load-spec refactoring, 2009-02-03).
---
 modules/utils.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/utils.js b/modules/utils.js
index 81f05fe..d7bcf3c 100644
--- a/modules/utils.js
+++ b/modules/utils.js
@@ -394,7 +394,8 @@ source_code_reference.prototype = {
     },
 
     open_in_editor : function() {
-        yield open_with_external_editor(this.best_uri, $line = this.line_number);
+        yield open_with_external_editor(load_spec(this.best_uri),
+                                        $line = this.line_number);
     }
 };
 
--
1.6.2.4

_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

 « Return to Thread: [PATCH] Add TAGS to .gitignore