From b6c8a55e886170ab4adb9b759254331d07ba8489 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 2 Dec 2024 11:01:06 +0100 Subject: [PATCH] emacs: Fix auto-mode for org-mode, add jujutsu to vc root markers --- home-manager/modules/emacs/config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index 9bb964e..80add1b 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -831,6 +831,7 @@ Projectile works great to manage projects. It includes fuzzy search and supports :diminish projectile-mode :config ;; (setq projectile-completion-system 'ivy) + (add-to-list 'project-vc-extra-root-markers ".jj") (projectile-mode) :general (:prefix "C-c" @@ -1766,7 +1767,7 @@ Configuration #+name: org-config #+begin_src emacs-lisp :tangle no - (add-to-list 'auto-mode-alist '((rx ".org" eos) . org-mode)) + (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (dolist (face '((org-level-1 . 1.2) (org-level-2 . 1.1) (org-level-3 . 1.05)