diff options
author | JSDurand <mmemmew@gmail.com> | 2021-12-09 16:02:06 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-12-09 16:02:06 +0800 |
commit | 8416e814e4426aa688af8be7d4be3150be33ea66 (patch) | |
tree | 95073f1269533f3aae0e46c6cba91ab69f94dfdc /org-conf.el | |
parent | 5aae910f1061dc279ff15ca5843b8e05f31de753 (diff) |
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
Diffstat (limited to 'org-conf.el')
-rw-r--r-- | org-conf.el | 4 |
1 files changed, 2 insertions, 2 deletions
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 |