summaryrefslogtreecommitdiff
path: root/app-emacs/po-mode/files/50po-mode-gentoo.el
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/po-mode/files/50po-mode-gentoo.el')
-rw-r--r--app-emacs/po-mode/files/50po-mode-gentoo.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-emacs/po-mode/files/50po-mode-gentoo.el b/app-emacs/po-mode/files/50po-mode-gentoo.el
new file mode 100644
index 000000000000..47adee8f6c5a
--- /dev/null
+++ b/app-emacs/po-mode/files/50po-mode-gentoo.el
@@ -0,0 +1,8 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'po-mode "po-mode" "Major mode for translators to edit PO files" t)
+(or (fboundp 'po-find-file-coding-system)
+ (autoload 'po-find-file-coding-system "po-compat"))
+
+(add-to-list 'auto-mode-alist '("\\.po\\'\\|\\.po\\." . po-mode))
+(modify-coding-system-alist 'file "\\.po\\'\\|\\.po\\."
+ 'po-find-file-coding-system)