Skip to content

Commit

Permalink
feat(rfc-mode): add a mode to download and display RFCs
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Feb 8, 2024
1 parent c583a41 commit 707d80c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/me-docs.el
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@
:straight t
:hook (markdown-mode . conditionally-turn-on-pandoc))

(use-package rfc-mode
:straight t
:custom
(rfc-mode-directory (concat minemacs-local-dir "rfc"))
:init
;; Use a window wide enough but not too wide
(add-to-list
'display-buffer-alist
`((derived-mode . rfc-mode)
(display-buffer-in-side-window)
(slot . 0)
(side . right)
(dedicated . t) ;; Close when finished
(window-width . 76))))

(provide 'me-docs)

Expand Down

0 comments on commit 707d80c

Please sign in to comment.