diff options
author | Teddy Wing | 2018-04-11 00:11:34 +0200 |
---|---|---|
committer | Teddy Wing | 2018-04-11 00:11:34 +0200 |
commit | 58b7a20ff17a20538e6e53278fd43c6425d18b79 (patch) | |
tree | 6ec0b4e47c8c30d8cfd91320149caa2fc70ad6f9 | |
download | w3m-session-backup-58b7a20ff17a20538e6e53278fd43c6425d18b79.tar.bz2 |
Get a list of w3m buffers from the saved session file
Grab the buffers saved to the "Crash recovery session" in "emacs-w3m"'s
session file. Just list them for now. We'll be using this to create a
backup file.
-rw-r--r-- | w3m-session-backup.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/w3m-session-backup.el b/w3m-session-backup.el new file mode 100644 index 0000000..60d88d7 --- /dev/null +++ b/w3m-session-backup.el @@ -0,0 +1,14 @@ +(defun my-w3m-session-backup () + "TODO" + (mapcar + (lambda (buffer) + buffer) + (nth 2 + (first + (w3m-load-list w3m-session-file))))) + +;; (first (nth 2 +;; (first +;; (w3m-load-list w3m-session-file)))) + +(first (my-w3m-session-backup)) |