Move po-mode settings to init.org
This commit is contained in:
parent
c83c9fb28d
commit
61976703e7
2 changed files with 15 additions and 2 deletions
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
;;;; Autoloads
|
;;;; Autoloads
|
||||||
|
|
||||||
(autoload 'po-mode "po-mode" nil t)
|
|
||||||
(autoload 'pony-mode "pony-mode" nil t)
|
(autoload 'pony-mode "pony-mode" nil t)
|
||||||
(autoload 'sawfish-mode "sawfish" nil t)
|
(autoload 'sawfish-mode "sawfish" nil t)
|
||||||
(autoload 'tagedit-mode "tagedit" nil t)
|
(autoload 'tagedit-mode "tagedit" nil t)
|
||||||
|
@ -1100,7 +1099,6 @@ from myaethon2.core.decorators import (
|
||||||
("\\.js\\(on\\)?$" . js2-mode)
|
("\\.js\\(on\\)?$" . js2-mode)
|
||||||
("\\.m\\(ark\\)?d\\(?:o?wn\\)?$" . markdown-mode)
|
("\\.m\\(ark\\)?d\\(?:o?wn\\)?$" . markdown-mode)
|
||||||
("\\.php[345]?$" . php-mode)
|
("\\.php[345]?$" . php-mode)
|
||||||
("\\.po\\'\\|\\.po\\." . po-mode)
|
|
||||||
("\\.tm?pl$" . html-mode)
|
("\\.tm?pl$" . html-mode)
|
||||||
("^\\.Xmodmap$" . xmodmap-mode)
|
("^\\.Xmodmap$" . xmodmap-mode)
|
||||||
("^Cask$" . emacs-lisp-mode))
|
("^Cask$" . emacs-lisp-mode))
|
||||||
|
|
|
@ -1119,6 +1119,21 @@
|
||||||
(add-to-list 'auto-mode-alist '("\\.html\\.erb$" . web-mode)))
|
(add-to-list 'auto-mode-alist '("\\.html\\.erb$" . web-mode)))
|
||||||
#+END_SRC
|
#+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
|
* Minor modes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue