Open .pl files in prolog-mode, not perl-mode
This commit is contained in:
parent
bd3e53dfa7
commit
5daa6c0e84
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user