summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-01-31 11:59:34 +0000
committerBruno Haible <bruno@clisp.org>2001-01-31 11:59:34 +0000
commit97e3159cecfb323d0e68abaa3c46012ff0b43154 (patch)
tree45365fb4acd659c313ea0e1abe390a0d622b05d4 /doc
parent3fcc0b21f76272bfded098e27977541aa6af9f2a (diff)
downloadexternal_gettext-97e3159cecfb323d0e68abaa3c46012ff0b43154.zip
external_gettext-97e3159cecfb323d0e68abaa3c46012ff0b43154.tar.gz
external_gettext-97e3159cecfb323d0e68abaa3c46012ff0b43154.tar.bz2
Fix the uses of 'autoload'.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog6
-rw-r--r--doc/gettext.texi19
2 files changed, 16 insertions, 9 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 80905a2..45f2ec2 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,6 +1,10 @@
+2001-01-28 Bruno Haible <haible@clisp.cons.org>
+
+ * gettext.texi (Installation): Call autoload with 4 arguments.
+
2001-01-06 Bruno Haible <haible@clisp.cons.org>
- * gettext.texi: (Magic for Installers) Remove references to catgets
+ * gettext.texi (Magic for Installers): Remove references to catgets
based emulation of gettext.
(Being a `gettext' grok): Likewise. LANGUAGE now always works.
(acconfig.h): Don't mention HAVE_CATGETS.
diff --git a/doc/gettext.texi b/doc/gettext.texi
index f78925c..d892101 100644
--- a/doc/gettext.texi
+++ b/doc/gettext.texi
@@ -795,7 +795,7 @@ like:
@example
(setq auto-mode-alist
(cons '("\\.po[tx]?\\'\\|\\.po\\." . po-mode) auto-mode-alist))
-(autoload 'po-mode "po-mode")
+(autoload 'po-mode "po-mode" "Major mode for translators to edit PO files" t)
@end example
Later, whenever you edit some @file{.po}, @file{.pot} or @file{.pox}
@@ -806,20 +806,23 @@ The string @emph{PO} appears in the mode line for any buffer for
which PO mode is active. Many PO files may be active at once in a
single Emacs session.
-If you are using Emacs version 20 or better, and have already installed
-the appropriate international fonts on your system, you may also manage
-for the these fonts to be automatically loaded and used for displaying
-the translations on your Emacs screen, whenever necessary. For this to
-happen, you might want to add the lines:
+If you are using Emacs version 20 or newer, and have already installed
+the appropriate international fonts on your system, you may also tell
+Emacs how to determine automatically the coding system of every PO file.
+This will often (but not always) cause the necessary fonts to be loaded
+and used for displaying the translations on your Emacs screen. For this
+to happen, add the lines:
@example
-(autoload 'po-find-file-coding-system "po-mode")
(modify-coding-system-alist 'file "\\.po[tx]?\\'\\|\\.po\\."
'po-find-file-coding-system)
+(autoload 'po-find-file-coding-system "po-mode")
@end example
@noindent
-to your @file{.emacs} file.
+to your @file{.emacs} file. If, with this, you still see boxes instead
+of international characters, try a different font set (via Shift Mouse
+button 1).
@node PO Files, Main PO Commands, Installation, Basics
@section The Format of PO Files