summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-11-28 07:07:58 +0300
committerdefanor <defanor@uberspace.net>2017-11-28 07:07:58 +0300
commit51146403e0e7b9d49efe8592ac8380f785ce9cf3 (patch)
tree380666e46e05906c586db0b5090ff360235d3b7c /README
parent6d6696fc45013f88c63decab3e53b8ee26dde1b4 (diff)
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.
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 7 insertions, 0 deletions
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
--------