From d2981800dabfb0cdae9eaaf5a4c644c177fb0e12 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Wed, 24 Aug 2022 15:56:19 +0800 Subject: Add RUMU support --- init.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index ccba9dc..aeb700d 100644 --- a/init.el +++ b/init.el @@ -406,6 +406,21 @@ no effect." 'auto-mode-alist (cons "\\.rs$" #'rustic-mode)))) +;;; Rust Music Mode (rumu) + +(load-after-function rumu-mode "rumu.el" + "Load Rust music configurations" nil + (rumu-mode)) + +(cond + ((assoc "\\.rumu$" auto-mode-alist #'string=) + (setcdr + (assoc "\\.rumu$" auto-mode-alist #'string=) + #'rumu-mode)) + ((add-to-list + 'auto-mode-alist + (cons "\\.rumu$" #'rumu-mode)))) + ;;; Cat and mouse (cond ((display-mouse-p) (mouse-avoidance-mode 'none))) -- cgit v1.2.3-18-g5258