Removed useless page creation.
authorplugd <plugd@thelambdalab.xyz>
Tue, 9 Aug 2022 00:42:02 +0000 (10:42 +1000)
committerplugd <plugd@thelambdalab.xyz>
Tue, 9 Aug 2022 00:42:02 +0000 (10:42 +1000)
elpher.el

index 6db62c3..b18a897 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -2350,9 +2350,7 @@ current page."
   (if (elpher-address-about-p (elpher-page-address elpher-current-page))
       (error "Cannot download %s"
              (elpher-page-display-string elpher-current-page))
-    (elpher-visit-page (elpher-make-page
-                        (elpher-page-display-string elpher-current-page)
-                        (elpher-page-address elpher-current-page))
+    (elpher-visit-page elpher-current-page
                        #'elpher-render-download
                        t)))