aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-04-11 00:52:26 +0200
committerTeddy Wing2018-04-11 00:52:26 +0200
commit2cd955e7faf2fe06acba32943fd5d27b2f5c1fa9 (patch)
treebc2deed05fcc1d52abd624fea988b7b752d42fda
parent85f7fae25ac35920a5466e0658066a26345aa2c5 (diff)
downloadw3m-session-backup-2cd955e7faf2fe06acba32943fd5d27b2f5c1fa9.tar.bz2
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.
-rw-r--r--w3m-session-backup.el2
1 files changed, 1 insertions, 1 deletions
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"))))