From 51146403e0e7b9d49efe8592ac8380f785ce9cf3 Mon Sep 17 00:00:00 2001 From: defanor Date: Tue, 28 Nov 2017 07:07:58 +0300 Subject: Introduce initial image support Pancake reports saved files to Emacs, Emacs inserts them into appropriate positions if they are images; `pancake-load-images' just sends "save" commands for all the images. `pancake-display-hook' was added as well, so that image loading can be requested automatically, among other things. There is a few things to improve: currently the images don't get sliced, there's no caching or parallelization, and no tracking of explicitly requested images. --- README | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README') diff --git a/README b/README index c7c10f8..0c39678 100644 --- a/README +++ b/README @@ -45,6 +45,13 @@ your default emacs browser:: (require 'pancake) (setq browse-url-browser-function 'pancake-browse-url) +To load and show all images automatically (not just after saving them +manually):: + + (add-hook 'pancake-display-hook 'pancake-load-images) + +Though it might be desirable to write a wrapper to only show those on +specific websites, e.g. webcomics, and perhaps specific images only. Commands -------- -- cgit v1.2.3