From a2064cabad4cac7f97ddcaa6bb857f09fa839f23 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Thu, 7 Nov 2024 11:45:01 -0800 Subject: emacs: install markdown-mode via use-package --- .emacs.d/rul-lisp/packages/rul-prog.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.emacs.d') 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) -- cgit v1.2.3