Open .pl files in prolog-mode, not perl-mode

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:32 +00:00
parent bd3e53dfa7
commit 5daa6c0e84

View File

@ -449,6 +449,14 @@ needs to be set up to install them if they aren't already.
(add-hook 'js2-mode-hook 'prettier-js-mode) (add-hook 'js2-mode-hook 'prettier-js-mode)
#+end_src #+end_src
** Prolog
=prolog-mode= comes with Emacs, but .pl files are assumed to be
Perl (which I never use, it scares me), so we need to change that.
#+begin_src emacs-lisp
(add-to-list 'auto-mode-alist '("\\.pl\\'" . prolog-mode))
#+end_src
* Desktop * Desktop
** EXWM ** EXWM
One must fulfil the meme of doing everything with Emacs... still One must fulfil the meme of doing everything with Emacs... still