Skip to content

Commit 145d253

Browse files
committed
fix(emacs): update file associations and autoload configuration
- Add `.cjs` files to `js2-mode` auto-mode-alist - Correct autoload target for `org-table-highlight-mode`
1 parent 9cf7099 commit 145d253

File tree

1 file changed

+2
-1
lines changed
  • home-manager/programs/emacs/elisp

1 file changed

+2
-1
lines changed

home-manager/programs/emacs/elisp/init.org

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@
671671

672672
;; js2-mode
673673
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
674+
(add-to-list 'auto-mode-alist '("\\.cjs$" . js2-mode))
674675
(add-to-list 'auto-mode-alist '("\\.mjs$" . js2-mode))
675676

676677
(with-eval-after-load 'js2-mode
@@ -4615,7 +4616,7 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry
46154616
#+end_src
46164617
*** org-table-highlight
46174618
#+begin_src emacs-lisp :tangle yes
4618-
(autoload-if-found '(org-table-highlight-mode) "org-preview-html" nil t)
4619+
(autoload-if-found '(org-table-highlight-mode) "org-table-highlight" nil t)
46194620

46204621
(with-eval-after-load 'org
46214622
;; hooks

0 commit comments

Comments
 (0)