From 7081c1d66fe99964c28794420f8cf4169fb8f818 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 8 May 2020 14:21:35 +0300 Subject: Fix typos in the Emacs user manual * doc/emacs/calendar.texi (Holidays): Fix usage of non-ASCII accents. * doc/emacs/custom.texi (Init Rebinding): Fix a cross-reference. * doc/emacs/dired.texi (Operating on Files): Make the cross-reference to "VC Delete/Rename" be to a different manual in the printed version. (Bug#41100) --- doc/emacs/calendar.texi | 4 ++-- doc/emacs/custom.texi | 2 +- doc/emacs/dired.texi | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi index 09111853958..8dc1a0b2df8 100644 --- a/doc/emacs/calendar.texi +++ b/doc/emacs/calendar.texi @@ -532,8 +532,8 @@ holidays centered around a different month, use @kbd{C-u M-x holidays}, which prompts for the month and year. The holidays known to Emacs include United States holidays and the -major Bahá'í, Chinese, Christian, Islamic, and Jewish holidays; also the -solstices and equinoxes. +major Bah@'{a}@t{'}@'{i}, Chinese, Christian, Islamic, and Jewish +holidays; also the solstices and equinoxes. @findex list-holidays The command @kbd{M-x holiday-list} displays the list of holidays for diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 406f0c96c1f..d034a78501b 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -1882,7 +1882,7 @@ also unset keys, when passed @code{nil} as the binding. Since a mode's keymaps are not constructed until it has been loaded, you must delay running code which modifies them, e.g., by putting it -on a @dfn{mode hook} (@pxref{(Hooks)}). For example, Texinfo mode +on a @dfn{mode hook} (@pxref{Hooks}). For example, Texinfo mode runs the hook @code{texinfo-mode-hook}. Here's how you can use the hook to add local bindings for @kbd{C-c n} and @kbd{C-c p}, and remove the one for @kbd{C-c C-x x} in Texinfo mode: diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index d5144141803..4ff1dc1bd94 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi @@ -723,7 +723,13 @@ with renamed files so that they refer to the new names. @vindex dired-vc-rename-file If the value of the variable @code{dired-vc-rename-file} is non-@code{nil}, files are renamed using the commands of the underlying VCS, via +@ifnottex @code{vc-rename-file} (@pxref{VC Delete/Rename}). +@end ifnottex +@iftex +@code{vc-rename-file} (@pxref{VC Delete/Rename,, Deleting and Renaming +Version-Controlled Files, emacs-xtra, Specialized Emacs Features}). +@end iftex @findex dired-do-hardlink @kindex H @r{(Dired)} -- cgit v1.2.1