mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 20:34:11 +01:00
Fixed external editor on Linux, maybe broke it for some other system?
This commit is contained in:
@@ -118,8 +118,13 @@ function IO() //{{{
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
path.appendRelativePath(self.expandPath(tail, true)); // FIXME: should only expand env vars and normalise path separators
|
path.appendRelativePath(self.expandPath(tail, true)); // FIXME: should only expand env vars and normalise path separators
|
||||||
if (path.exists() && path.normalize)
|
// TODO: This code breaks the external editor at least in ubuntu
|
||||||
path.normalize();
|
// because /usr/bin/gvim becomes /usr/bin/vim.gnome normalized and for
|
||||||
|
// some strange reason it will start without a gui then (which is not
|
||||||
|
// optimal if you don't start firefox from a terminal ;)
|
||||||
|
// Why do we need this code?
|
||||||
|
// if (path.exists() && path.normalize)
|
||||||
|
// path.normalize();
|
||||||
}
|
}
|
||||||
catch (e)
|
catch (e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
2009:
|
2009:
|
||||||
|
* Peleg Michaeli ("Every hand revealed" from my amazon.de wishlist)
|
||||||
* InspireFocus
|
* InspireFocus
|
||||||
* Michael Fremont
|
* Michael Fremont
|
||||||
* Kamil Dworakowski
|
* Kamil Dworakowski
|
||||||
|
|||||||
Reference in New Issue
Block a user