From 8416e814e4426aa688af8be7d4be3150be33ea66 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 9 Dec 2021 16:02:06 +0800 Subject: eww-conf: record the readability status as well * eww-conf.el (durand-eww-readable-p): a variable that records if the current buffer is in the readable mode. (eww-non-readable-h, eww-readable-h): set the buffer to the correct readable mode. (eww-after-render-hook): add a hook to set the buffer to non-readable mode. (#'eww-readable): add an advice to set the buffer to readable mode. (durand-eww-bookmark-make-record): record the readability status of the buffer. (durand-eww-bookmark-jump): if the bookmark records a readable buffer, enter readable mode when opening it. * org-conf.el (durand-org-publish-sitemap): fix a small typo --- org-conf.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org-conf.el') diff --git a/org-conf.el b/org-conf.el index f964d3c..cec2d41 100644 --- a/org-conf.el +++ b/org-conf.el @@ -736,8 +736,8 @@ TITLE is the title of the sitemap. REP is a representation of the files and directories in the project. Use such functions as `org-list-to-org' or `org-list-to-subtree' to transform it." - (format "#+TITLE: %s\n#+AUTHOR: JSDurand\n%s#+DATE: <%s>\n\n%s\n\n\ -#+ATTR_HTML: :border nil :rules nil :frame nil\n\ + (format "#+TITLE: %s\n#+AUTHOR: JSDurand\n%s\n#+DATE: <%s>\n\n%s\n\ +\n#+ATTR_HTML: :border nil :rules nil :frame nil\n\ %s\n\n\ [[https://jsdurand.xyz/%s][Web feed]]" title -- cgit v1.2.3-18-g5258