From 2cd955e7faf2fe06acba32943fd5d27b2f5c1fa9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 11 Apr 2018 00:52:26 +0200 Subject: save-backup: Unwrap list around page title Turns out `(last page 1)` didn't actually extract the page title string from the list previously created by `LAST`. To extract the title string from the list, just use `FIRST` and get rid of the now seemingly unnecessary third argument. --- w3m-session-backup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w3m-session-backup.el b/w3m-session-backup.el index 5088df0..edd93f0 100644 --- a/w3m-session-backup.el +++ b/w3m-session-backup.el @@ -36,7 +36,7 @@ (lambda (page) (format "%s\n%s" (first page) - (last page 1))) + (first (last page)))) (my-w3m-session-backup)) "\n\n")))) -- cgit v1.2.3