From 87e9ae960d55d546167471991db61dbe55d929b3 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Mon, 10 Jun 2024 21:56:56 +0800 Subject: [PATCH] Correct documentation build warnings and errors with Texinfo 4.13 * doc/emacs/custom.texi (Init Rebinding): Avoid @U command. * doc/emacs/dired.texi (Image-Dired): EXIF, PNG and JPEG are acronyms. (cherry picked from commit 8a55f4d0b06c96c95a2a2a7eb4a9a7fedb105e70) --- doc/emacs/dired.texi | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 720d27ab3bb..c251a6dc2be 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi @@ -1689,7 +1689,7 @@ thumbnails, controlled by the value of the option @vindex image-dired-dir @vindex image-dired-thumb-naming @item image-dired -This method stores thumbnails as @sc{JPEG} images in a single directory +This method stores thumbnails as JPEG images in a single directory specified by the variable @code{image-dired-dir}. This is the default. The names of the thumbnail files are in this case constructed according to the value of @code{image-dired-thumb-naming}. @@ -1699,13 +1699,14 @@ to the value of @code{image-dired-thumb-naming}. @itemx standard-xx-large These methods, mandated by the @url{https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html, -Thumbnail Managing Standard}, store thumbnails as @sc{PNG} images under -the @file{thumbnails} subdirectory of the directory specified by the -environment variable @env{XDG_CACHE_HOME} (which defaults to +Thumbnail Managing Standard}, store thumbnails as @acronym{PNG} images +under the @file{thumbnails} subdirectory of the directory specified by +the environment variable @env{XDG_CACHE_HOME} (which defaults to @file{~/.cache}). @item per-directory This method stores the thumbnails of each directory in a -@file{.image-dired} subdirectory of that directory, as @sc{JPEG} images. +@file{.image-dired} subdirectory of that directory, as @acronym{jpeg} +images. @end table @vindex image-dired-thumb-size @@ -1777,10 +1778,10 @@ a comment from Dired (@code{image-dired-dired-comment-files}). @findex image-dired-thumbnail-set-image-description If you have the @command{exiftool} program installed, you can set the -@sc{EXIF} @samp{ImageDescription} tag of an image file by invoking the -@code{image-dired-thumbnail-set-image-description} command with point at -the thumbnail of the image file. This command prompts for the -description of the image, and adds the @sc{EXIF} tag to it. +@acronym{EXIF} @samp{ImageDescription} tag of an image file by invoking +the @code{image-dired-thumbnail-set-image-description} command with +point at the thumbnail of the image file. This command prompts for the +description of the image, and adds the @acronym{EXIF} tag to it. @vindex image-dired-thumb-visible-marks Files that are marked in Dired will also be marked in Image-Dired if -- 2.39.2