From: Tim Vaughan Date: Sat, 20 Apr 2019 10:29:28 +0000 (+0200) Subject: Fixed start page caching bug. X-Git-Tag: v1.0.0~68 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=155ce87e8ecd59e54ea8d02c9eecb26c3f118827;p=elpher.git Fixed start page caching bug. --- diff --git a/elopher.el b/elopher.el index 5725a4f..40e4ef1 100644 --- a/elopher.el +++ b/elopher.el @@ -211,9 +211,12 @@ (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