1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 23:14:12 +01:00

Fix :ha >$filename for the nth time.

This commit is contained in:
Kris Maglione
2013-09-29 14:51:20 -07:00
parent b0ce802384
commit 2e2947b703
2 changed files with 4 additions and 2 deletions

View File

@@ -1757,8 +1757,10 @@ var Buffer = Module("Buffer", {
if (arg) {
prefs.set("print.print_printer", PRINTER);
let { path } = io.File(arg.substr(1));
set("print_to_file", true);
set("print_to_filename", io.File(arg.substr(1)).path);
set("print_to_filename", path);
prefs.set("print_to_filename", path);
dactyl.echomsg(_("print.toFile", arg.substr(1)));
}