From: Bruno Haible Date: Wed, 31 Jan 2001 11:59:34 +0000 (+0000) Subject: Fix the uses of 'autoload'. X-Git-Tag: v0.10.36~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97e3159cecfb323d0e68abaa3c46012ff0b43154;p=thirdparty%2Fgettext.git Fix the uses of 'autoload'. --- diff --git a/doc/ChangeLog b/doc/ChangeLog index 80905a2f3..45f2ec258 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,6 +1,10 @@ +2001-01-28 Bruno Haible + + * gettext.texi (Installation): Call autoload with 4 arguments. + 2001-01-06 Bruno Haible - * 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 f78925c27..d892101f2 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