diff options
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r-- | emacs/.emacs.d/init.org | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 4f5596d..2c7fa7a 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1119,6 +1119,21 @@ (add-to-list 'auto-mode-alist '("\\.html\\.erb$" . web-mode))) #+END_SRC +** PO mode + + Autoload =po-mode=, because it didn't come with an autloads file or + cookie. + + #+BEGIN_SRC emacs-lisp + (autoload 'po-mode "po-mode" nil t) + #+END_SRC + + Automatically enable =po-mode= for files that end in =.po= or that have + a =.po= extension followed by others (such as =.po.erb=). + + #+BEGIN_SRC emacs-lisp + (add-to-list 'auto-mode-alist '("\\.po\\'\\|\\.po\\." . po-mode)) + #+END_SRC * Minor modes |