Fixed start page caching bug.
authorTim Vaughan <tgvaughan@gmail.com>
Sat, 20 Apr 2019 10:29:28 +0000 (12:29 +0200)
committerTim Vaughan <tgvaughan@gmail.com>
Sat, 20 Apr 2019 10:29:28 +0000 (12:29 +0200)
elopher.el

index 5725a4f..40e4ef1 100644 (file)
                                     (elopher-insert-index elopher-selector-string))
                                   (elopher-set-node-content elopher-current-node
                                                             (buffer-string))))
-        (let ((inhibit-read-only t))
-          (erase-buffer)
-          (elopher-insert-index elopher-start-page))))))
+        (progn
+          (let ((inhibit-read-only t))
+            (erase-buffer)
+            (elopher-insert-index elopher-start-page))
+          (elopher-set-node-content elopher-current-node
+                                    (buffer-string)))))))
 
 ;; Text retrieval