diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-16 01:42:57 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-16 01:42:57 +0200 |
commit | 9e50f32f650c2bdb99fb425003a3197ff1be7e71 (patch) | |
tree | d184ed88fa53359bf69c4943cba814e4ab8ca06b | |
parent | 47b84e6ecfc55273464855589a8c9ff50568501c (diff) |
emacs: Don’t use ‘rx’
-rw-r--r-- | .config/emacs/config.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index f2bb1f6..03692c0 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -1022,8 +1022,8 @@ file with a certain file extension. (require 'rust-ts-mode) (require 'yaml-ts-mode) - (cl-dolist (pair `((,(rx ".rs" eos) . rust-ts-mode) - (,(rx (or ".yml" ".yaml")) . yaml-ts-mode))) + (cl-dolist (pair '(("\\.rs\\'" . rust-ts-mode) + ("\\.ya?ml\\'" . yaml-ts-mode))) (add-to-list 'auto-mode-alist pair)) #+END_SRC |