diff options
author | Yuchen Pei <id@ypei.org> | 2025-06-04 09:50:01 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-06-04 09:50:01 +1000 |
commit | e0451edda69683d4f5ac4072ed7976bcaaa762c4 (patch) | |
tree | f96a07b1893668a12d2bdca8fd121a643ad1fb37 /emacs/.emacs.d/init | |
parent | 35f625d5b081607c1ab7de25a670745c1ba6434c (diff) |
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r-- | emacs/.emacs.d/init/ycp-markup.el | 1 | ||||
-rw-r--r-- | emacs/.emacs.d/init/ycp-reading.el | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-markup.el b/emacs/.emacs.d/init/ycp-markup.el index 6a6e8b8..c90dc6a 100644 --- a/emacs/.emacs.d/init/ycp-markup.el +++ b/emacs/.emacs.d/init/ycp-markup.el @@ -115,6 +115,7 @@ (my-keybind nov-mode-map "Q" #'my-nov-copy-buffer-file-with-staging "i" #'imenu) + (add-to-list 'nov-shr-rendering-functions '(span . my-nov-render-span)) ) ;;; json-mode diff --git a/emacs/.emacs.d/init/ycp-reading.el b/emacs/.emacs.d/init/ycp-reading.el index 24c47d0..477aa5d 100644 --- a/emacs/.emacs.d/init/ycp-reading.el +++ b/emacs/.emacs.d/init/ycp-reading.el @@ -27,6 +27,8 @@ ;;; Code: (my-package belf - (my-setq-from-local belf-dir)) + (my-setq-from-local belf-dir) + (add-hook 'find-file-hook 'belf-recent-add-current) + (blink-cursor-mode 0)) (provide 'ycp-reading) |