]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix the uses of 'autoload'.
authorBruno Haible <bruno@clisp.org>
Wed, 31 Jan 2001 11:59:34 +0000 (11:59 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Jan 2001 11:59:34 +0000 (11:59 +0000)
doc/ChangeLog
doc/gettext.texi

index 80905a2f3ab6bd31bb02346e14cc3a8dda0b9f5e..45f2ec2589439c8f9076d4391632c9cace880cef 100644 (file)
@@ -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.
index f78925c2743302edb7de3afefe330705c0ff5404..d892101f291047de046ae0ac50c538b2721baa3e 100644 (file)
@@ -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