From 71021e3085f8f17adeffd03c28c9b6ded42b5051 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 9 Feb 2025 10:53:39 +1100 Subject: [emacs] belf mode show book cover in the infobox --- emacs/.emacs.d/init/ycp-prog.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/init/ycp-prog.el') diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el index 3209e81..6584491 100644 --- a/emacs/.emacs.d/init/ycp-prog.el +++ b/emacs/.emacs.d/init/ycp-prog.el @@ -550,7 +550,8 @@ ;;; nxml (my-package nxml-mode (:delay 60) - (setq nxml-slash-auto-complete-flag t)) + (setq nxml-slash-auto-complete-flag t) + (add-to-list 'auto-mode-alist '("\\.opf\\'" . nxml-mode))) (my-package etags (:delay 60) -- cgit v1.2.3