mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: document some more auto-mode-alist entries
This commit is contained in:
parent
456e5592df
commit
3ac1d3ec75
|
|
@ -7357,11 +7357,16 @@ Meant to be added to `prog-mode-hook'."
|
|||
(add-to-list 'auto-mode-alist '("\\(README\\|CHANGELOG\\|COPYING\\|LICENSE\\)\\'" . text-mode))
|
||||
#+end_src
|
||||
|
||||
*** TODO The =prot-emacs-langs.el= settings for common file types
|
||||
*** The =prot-emacs-langs.el= settings for common file types
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: h:1a132701-9487-4af0-8759-a8d64d02bf1f
|
||||
:END:
|
||||
|
||||
As I explained above about ~auto-mode-alist~ ([[#h:c5fbd6dd-2982-4fca-aeed-d0e750d399bd][The =prot-emacs-langs.el= settings for plain text]]),
|
||||
this is how we tell Emacs what major mode to use for files that match
|
||||
the given regular expression. The =PKGBUILD= is for Arch Linux package
|
||||
recipes, by the way.
|
||||
|
||||
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-langs.el"
|
||||
;;;; Arch Linux and AUR package scripts (sh-mode)
|
||||
(add-to-list 'auto-mode-alist '("PKGBUILD" . sh-mode))
|
||||
|
|
|
|||
Loading…
Reference in a new issue