aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <raul@thousandeyes.com>2024-11-07 11:45:01 -0800
committerRaul Benencia <raul@thousandeyes.com>2024-11-07 11:46:27 -0800
commita2064cabad4cac7f97ddcaa6bb857f09fa839f23 (patch)
treef19e0b0022148f36770315e38cf81aa0fd9cf1ab
parent5f7344470cadd8bb042a19f4bcdf1ce68ac27da4 (diff)
emacs: install markdown-mode via use-package
-rw-r--r--.emacs.d/rul-lisp/packages/rul-prog.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-prog.el b/.emacs.d/rul-lisp/packages/rul-prog.el
index 7e2d1e8..e82931b 100644
--- a/.emacs.d/rul-lisp/packages/rul-prog.el
+++ b/.emacs.d/rul-lisp/packages/rul-prog.el
@@ -39,11 +39,11 @@
(add-hook 'LaTeX-mode-hook 'pdfevince t) ; AUCTeX LaTeX mode
;; Markdown
-(autoload 'markdown-mode "markdown-mode.el"
- "Major mode for editing Markdown files" t)
-
-(setq auto-mode-alist
- (cons '("\\.mdwn" . markdown-mode) auto-mode-alist))
+(use-package markdown-mode
+ :ensure t
+ :config
+ (setq auto-mode-alist
+ (cons '("\\.mdwn" . markdown-mode) auto-mode-alist)))
;; Python
(use-package blacken :ensure t :defer t)
nihil fit ex nihilo